|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
background task hub (aka ajax handler, GUI) More...
Collaboration diagram for ilBackgroundTaskHub:Public Member Functions | |
| __construct () | |
| Constructor. More... | |
| executeCommand () | |
| Execute current command. More... | |
| isSOAPEnabled () | |
| Is soap enabled? More... | |
Protected Member Functions | |
| sendJson (stdClass $a_json) | |
| Send Json to client. More... | |
| validate () | |
| Validate given task. More... | |
| unblock () | |
| Cancel all other tasks, start current one. More... | |
| process () | |
| Process current task. More... | |
| progress () | |
| Check progress of current task. More... | |
| cancel () | |
| Cancel current task. More... | |
| deliver () | |
| Deliver result. More... | |
Protected Attributes | |
| $task | |
| $handler | |
background task hub (aka ajax handler, GUI)
@ilCtrl_Calls ilBackgroundTaskHub:
Definition at line 13 of file class.ilBackgroundTaskHub.php.
| ilBackgroundTaskHub::__construct | ( | ) |
Constructor.
Definition at line 23 of file class.ilBackgroundTaskHub.php.
|
protected |
Cancel current task.
Definition at line 175 of file class.ilBackgroundTaskHub.php.
References ilBackgroundTask\STATUS_CANCELLING.
|
protected |
Deliver result.
Definition at line 185 of file class.ilBackgroundTaskHub.php.
| ilBackgroundTaskHub::executeCommand | ( | ) |
Execute current command.
Definition at line 44 of file class.ilBackgroundTaskHub.php.
| ilBackgroundTaskHub::isSOAPEnabled | ( | ) |
Is soap enabled?
Definition at line 143 of file class.ilBackgroundTaskHub.php.
References $DIC, $ilSetting, ilContext\CONTEXT_CRON, and ilContext\getType().
Referenced by process().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Process current task.
Definition at line 118 of file class.ilBackgroundTaskHub.php.
References $_COOKIE, isSOAPEnabled(), and ilBackgroundTask\STATUS_PROCESSING.
Here is the call graph for this function:
|
protected |
Check progress of current task.
Definition at line 157 of file class.ilBackgroundTaskHub.php.
References $result, ilBackgroundTaskJson\getProgressJson(), sendJson(), and ilBackgroundTask\STATUS_FINISHED.
Here is the call graph for this function:
|
protected |
Send Json to client.
| stdClass | $a_json |
Definition at line 70 of file class.ilBackgroundTaskHub.php.
Referenced by progress(), unblock(), and validate().
Here is the caller graph for this function:
|
protected |
Cancel all other tasks, start current one.
Definition at line 95 of file class.ilBackgroundTaskHub.php.
References $DIC, $ilUser, $task, ilBackgroundTask\getActiveByUserId(), sendJson(), and ilBackgroundTask\STATUS_CANCELLING.
Here is the call graph for this function:
|
protected |
Validate given task.
Definition at line 78 of file class.ilBackgroundTaskHub.php.
References $_GET, $file, $handler, and sendJson().
Here is the call graph for this function:
|
protected |
Definition at line 16 of file class.ilBackgroundTaskHub.php.
Referenced by validate().
|
protected |
Definition at line 15 of file class.ilBackgroundTaskHub.php.
Referenced by unblock().