|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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.
References $lng.
|
protected |
Cancel current task.
Definition at line 183 of file class.ilBackgroundTaskHub.php.
References ilBackgroundTask\STATUS_CANCELLING.
|
protected |
Deliver result.
Definition at line 193 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 149 of file class.ilBackgroundTaskHub.php.
References $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 121 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 162 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 71 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 97 of file class.ilBackgroundTaskHub.php.
References $ilUser, $task, ilBackgroundTask\getActiveByUserId(), sendJson(), and ilBackgroundTask\STATUS_CANCELLING.
Here is the call graph for this function:
|
protected |
Validate given task.
Definition at line 79 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().