Documentation

Vtiger_LabelUpdater_Cron extends CronHandler
in package

Vtiger_LabelUpdater_Cron class.

Table of Contents

$cronTask  : Cron
$logs  : string
$limit  : int
The maximum number of record labels that cron can update during a single execution.
__construct()  : mixed
Construct.
checkTimeout()  : bool
Check cron task timeout.
getTaskLog()  : string
Get cron task logs.
process()  : void
Main function to execute task.
updateLastActionTime()  : void
Update cron task last action time.
addLabels()  : void
Add labels for records.
addSearchLabel()  : void
Add search labels for records.
clear()  : mixed
Clear data.

Properties

$limit

The maximum number of record labels that cron can update during a single execution.

private int $limit

Methods

__construct()

Construct.

public __construct(Cron $cronTask) : mixed
Parameters
$cronTask : Cron
Return values
mixed

checkTimeout()

Check cron task timeout.

public checkTimeout() : bool
Return values
bool

getTaskLog()

Get cron task logs.

public getTaskLog() : string
Return values
string

process()

Main function to execute task.

public process() : void
Return values
void

updateLastActionTime()

Update cron task last action time.

public updateLastActionTime() : void
Return values
void

addLabels()

Add labels for records.

private addLabels() : void
Return values
void

addSearchLabel()

Add search labels for records.

private addSearchLabel() : void
Return values
void

clear()

Clear data.

private clear() : mixed
Return values
mixed

        

Search results