[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 465 lines (13 kb) |
Included or required: | 7 times |
Referenced: | 0 times |
Includes or requires: | 2 files include/database/PearDatabase.php vtlib/Vtiger/Utils.php |
Vtiger_Cron:: (40 methods):
__construct()
set()
getId()
getName()
getFrequency()
getStatus()
getLastStart()
getLastEnd()
getLastEndDateTime()
getLastStartDateTime()
getTimeDiff()
getHandlerFile()
getModule()
getSequence()
getDescription()
isRunnable()
statusEqual()
isRunning()
isEnabled()
isDisabled()
updateStatus()
updateFrequency()
markRunning()
markFinished()
setBulkMode()
inBulkMode()
hadTimedout()
querySilent()
initializeSchema()
nextSequence()
register()
deregister()
listAllActiveInstances()
getInstance()
getInstanceById()
listAllInstancesByModule()
log()
isSentLogMail()
getIterations()
getCompletedTime()
Class: Vtiger_Cron - X-Ref
Provides API to work with Cron tasks__construct($values) X-Ref |
Constructor |
set($key,$value) X-Ref |
set the value to the data param: type $value,$key |
getId() X-Ref |
Get id reference of this instance. |
getName() X-Ref |
Get name of this task instance. |
getFrequency() X-Ref |
Get the frequency set. |
getStatus() X-Ref |
Get the status |
getLastStart() X-Ref |
Get the timestamp lastrun started. |
getLastEnd() X-Ref |
Get the timestamp lastrun ended. |
getLastEndDateTime() X-Ref |
Get the user datetimefeild |
getLastStartDateTime() X-Ref |
get the last start datetime field |
getTimeDiff() X-Ref |
Get Time taken to complete task |
getHandlerFile() X-Ref |
Get the configured handler file. |
getModule() X-Ref |
Get the Module name |
getSequence() X-Ref |
get the Sequence |
getDescription() X-Ref |
get the description of cron |
isRunnable() X-Ref |
Check if task is right state for running. |
statusEqual($value) X-Ref |
Helper function to check the status value. |
isRunning() X-Ref |
Is task in running status? |
isEnabled() X-Ref |
Is task enabled? |
isDisabled() X-Ref |
Is task disabled? |
updateStatus($status) X-Ref |
Update status |
updateFrequency($frequency) X-Ref |
No description |
markRunning() X-Ref |
Mark this instance as running. |
markFinished() X-Ref |
Mark this instance as finished. |
setBulkMode($mode = null) X-Ref |
Set the bulkMode flag |
inBulkMode() X-Ref |
Is task in bulk mode execution? |
hadTimedout() X-Ref |
Detect if the task was started by never finished. |
querySilent($sql, $params=false) X-Ref |
Execute SQL query silently (even when table doesn't exist) |
initializeSchema() X-Ref |
Initialize the schema. |
nextSequence() X-Ref |
No description |
register($name, $handler_file, $frequency, $module = 'Home', $status = 1, $sequence = 0, $description = '') X-Ref |
Register cron task. |
deregister($name) X-Ref |
De-register cron task. |
listAllActiveInstances($byStatus = 0) X-Ref |
Get instances that are active (not disabled) |
getInstance($name) X-Ref |
Get instance of cron task. |
getInstanceById($id) X-Ref |
Get instance of cron job by id |
listAllInstancesByModule($module) X-Ref |
No description |
log($completed = false) X-Ref |
No description |
isSentLogMail() X-Ref |
No description |
getIterations() X-Ref |
No description |
getCompletedTime() X-Ref |
No description |
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |