[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 58 lines (2 kb) |
Included or required: | 3 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
VTTaskQueue:: (3 methods):
__construct()
queueTask()
getReadyTasks()
Class: VTTaskQueue - X-Ref
Time based Queue of tasks ready for execution.__construct($adb) X-Ref |
No description |
queueTask($taskId, $entityId, $when=0, $taskContents = false) X-Ref |
Queue a task for execution. param: $taskId The id of the task to queue param: $entityId The id of the crm entity the task is assiciated with. param: $when The time after which the task should be executed. This is |
getReadyTasks() X-Ref |
Get a list of taskId/entityId pairs ready for execution. The method fetches task id/entity id where the when timestamp is less than the current time when the method was called. return: A list of pairs of the form array(taskId, entityId) |
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |