\FAA\ObjCronJobGc

Summary

Methods
Properties
Constants
__construct()
Register()
Execute()
GetPath()
GetName()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
CleanBaskets()
RotateLogfiles()
CleanupUploads()
CleanupSessions()
CleanupJobs()
No private properties found
N/A

Methods

__construct()

__construct(integer  $id = null,array  $setup = null)

construct a new instance of the object

Parameters

integer $id

A cron job identification number

array $setup

A cron job setup data set

Register()

Register()

Register new sub jobs, are called afterwards in the Execute method

Execute()

Execute()

Execute sub jobs, are called after the Register method

GetPath()

GetPath(): string

expose the storage path provide an interface to extract the current path of this object

Returns

string —

the object storage path

GetName()

GetName(): string

expose the name provide an interface to extract the name

Returns

string —

the object name

CleanBaskets()

CleanBaskets()

RotateLogfiles()

RotateLogfiles()

CleanupUploads()

CleanupUploads()

CleanupSessions()

CleanupSessions()

CleanupJobs()

CleanupJobs()