Stud.IP  5.4
PurgeCacheJob Class Reference
Inheritance diagram for PurgeCacheJob:
CronJob

Public Member Functions

 setUp ()
 
 execute ($last_result, $parameters=[])
 
- Public Member Functions inherited from CronJob
 execute ($last_result, $parameters=[])
 
 setUp ()
 
 tearDown ()
 

Static Public Member Functions

static getName ()
 
static getDescription ()
 
static getParameters ()
 
- Static Public Member Functions inherited from CronJob
static getName ()
 
static getDescription ()
 
static getParameters ()
 
static register ()
 
static unregister ()
 

Detailed Description

Member Function Documentation

◆ execute()

execute (   $last_result,
  $parameters = [] 
)

Execute the cronjob.

Parameters
mixed$last_resultWhat the last execution of this cronjob returned.
Array$parametersParameters for this cronjob instance which were defined during scheduling. Only valid parameter at the moment is "verbose" which toggles verbose output while purging the cache.

◆ getDescription()

static getDescription ( )
static

Returns the description of the cronjob.

◆ getName()

static getName ( )
static

Returns the name of the cronjob.

◆ getParameters()

static getParameters ( )
static

Return the paremeters for this cronjob.

Returns
Array Parameters.

◆ setUp()

setUp ( )

Setup method. Loads the neccessary classes.


The documentation for this class was generated from the following file: