ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
Public Member Functions | |
run (Bucket $bucket) | |
This will add an Observer of the Task and start running the task. More... | |
runAsync () | |
![]() | |
__construct (protected Persistence $persistence) | |
continueTask (Bucket $bucket, Option $option) | |
Continue a task with a given option. More... | |
quitBucket (Bucket $bucket) | |
![]() | |
executeTask (Task $task, Observer $observer) | |
Actually executes a task. More... | |
run (Bucket $bucket) | |
Depending on your background task settings, executes or puts the task into the queue. More... | |
continueTask (Bucket $bucket, Option $option) | |
Continue a task that is the state UserInteraction with a given option. More... | |
quitBucket (Bucket $bucket) | |
Quits and deletes a Bucket with all it's Jobs. More... | |
Data Fields | |
const | CMD_START_WORKER = 'startBackgroundTaskWorker' |
Definition at line 26 of file AsyncTaskManager.php.
ILIAS\BackgroundTasks\Implementation\TaskManager\AsyncTaskManager::run | ( | Bucket | $bucket | ) |
This will add an Observer of the Task and start running the task.
Definition at line 34 of file AsyncTaskManager.php.
References ILIAS\$client_id, $DIC, CLIENT_ID, ILIAS\BackgroundTasks\Bucket\getTask(), null, ILIAS\BackgroundTasks\Implementation\Bucket\State\SCHEDULED, ILIAS\BackgroundTasks\Bucket\setCurrentTask(), and ILIAS\BackgroundTasks\Bucket\setState().
ILIAS\BackgroundTasks\Implementation\TaskManager\AsyncTaskManager::runAsync | ( | ) |
Definition at line 85 of file AsyncTaskManager.php.
References $DIC, Vendor\Package\$e, $ilIliasIniFile, ILIAS\BackgroundTasks\TaskManager\executeTask(), ILIAS\BackgroundTasks\Implementation\Bucket\State\FINISHED, null, ILIAS\BackgroundTasks\Implementation\Bucket\State\RUNNING, and ILIAS\BackgroundTasks\Implementation\Bucket\State\SCHEDULED.
Referenced by ilSoapBackgroundTasksAdministration\runAsync().
const ILIAS\BackgroundTasks\Implementation\TaskManager\AsyncTaskManager::CMD_START_WORKER = 'startBackgroundTaskWorker' |
Definition at line 28 of file AsyncTaskManager.php.