|
ILIAS
Release_4_4_x_branch Revision 61816
|
Collaboration diagram for ilECSTaskScheduler:Public Member Functions | |
| getServer () | |
| Get server setting. | |
| startTaskExecution () | |
| Start Tasks. | |
| checkNextExecution () | |
| Start. | |
Static Public Member Functions | |
| static | _getInstanceByServerId ($a_server_id) |
| get singleton instance Private access use ilECSTaskScheduler::start() or ilECSTaskScheduler::startTaskExecution | |
| static | start () |
| Start task scheduler for each server instance. | |
| static | startExecution () |
| Static version iterates over all active instances. | |
Data Fields | |
| const | MAX_TASKS = 30 |
Protected Member Functions | |
| initNextExecution () | |
| Call next task scheduler run. | |
Protected Attributes | |
| $settings = null | |
| $log = null | |
| $db | |
Private Member Functions | |
| __construct (ilECSSetting $setting) | |
| Singleton constructor. | |
| readEvents () | |
| Read EContent. | |
| handleEvents () | |
| Handle events. | |
| handleDeprecatedAccounts () | |
| Delete deprecate ECS accounts. | |
| readMIDs () | |
| Read MID's of this installation. | |
Private Attributes | |
| $event_reader = null | |
| $mids = array() | |
Static Private Attributes | |
| static | $instances = array() |
Definition at line 32 of file class.ilECSTaskScheduler.php.
|
private |
Singleton constructor.
public
Definition at line 52 of file class.ilECSTaskScheduler.php.
References $ilLog.
|
static |
get singleton instance Private access use ilECSTaskScheduler::start() or ilECSTaskScheduler::startTaskExecution
private
Definition at line 75 of file class.ilECSTaskScheduler.php.
References ilECSSetting\getInstanceByServerId().
Referenced by ilSoapUtils\handleECSTasks(), and ilECSSettingsGUI\readAll().
Here is the call graph for this function:
Here is the caller graph for this function:| ilECSTaskScheduler::checkNextExecution | ( | ) |
Start.
public
Definition at line 358 of file class.ilECSTaskScheduler.php.
References $ilLog, and $query.
| ilECSTaskScheduler::getServer | ( | ) |
Get server setting.
Definition at line 129 of file class.ilECSTaskScheduler.php.
References $settings.
Referenced by handleEvents(), readEvents(), and readMIDs().
Here is the caller graph for this function:
|
private |
Delete deprecate ECS accounts.
private
Definition at line 297 of file class.ilECSTaskScheduler.php.
References $query, $res, $row, DB_FETCHMODE_OBJECT, and ilObjectFactory\getInstanceByObjId().
Referenced by startTaskExecution().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Handle events.
private
Definition at line 187 of file class.ilECSTaskScheduler.php.
References $res, ilECSEvent\CREATED, ilECSEvent\DESTROYED, ilRemoteObjectBase\getInstanceByEventType(), getServer(), MAX_TASKS, ilECSEvent\NEW_EXPORT, ilECSEventQueueReader\TYPE_CMS_COURSE_MEMBERS, ilECSEventQueueReader\TYPE_CMS_COURSES, ilECSEventQueueReader\TYPE_COURSE_URLS, ilECSEventQueueReader\TYPE_DIRECTORY_TREES, ilECSEventQueueReader\TYPE_REMOTE_CATEGORY, ilECSEventQueueReader\TYPE_REMOTE_COURSE, ilECSEventQueueReader\TYPE_REMOTE_FILE, ilECSEventQueueReader\TYPE_REMOTE_GLOSSARY, ilECSEventQueueReader\TYPE_REMOTE_GROUP, ilECSEventQueueReader\TYPE_REMOTE_LEARNING_MODULE, ilECSEventQueueReader\TYPE_REMOTE_TEST, ilECSEventQueueReader\TYPE_REMOTE_WIKI, and ilECSEvent\UPDATED.
Referenced by startTaskExecution().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Call next task scheduler run.
Definition at line 398 of file class.ilECSTaskScheduler.php.
References $_COOKIE, $client_id, $ilLog, $res, ilSession\_duplicate(), and ilSoapFunctions\handleECSTasks().
Here is the call graph for this function:
|
private |
Read EContent.
private
Definition at line 167 of file class.ilECSTaskScheduler.php.
References getServer().
Referenced by startTaskExecution().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Read MID's of this installation.
private
Definition at line 325 of file class.ilECSTaskScheduler.php.
References $reader, ilECSCommunityReader\getInstanceByServerId(), and getServer().
Referenced by startTaskExecution().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Start task scheduler for each server instance.
Definition at line 91 of file class.ilECSTaskScheduler.php.
References $server, ilContext\CONTEXT_WEB, ilECSServerSettings\getInstance(), and ilContext\getType().
Referenced by ilInitialisation\initILIAS().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Static version iterates over all active instances.
Definition at line 114 of file class.ilECSTaskScheduler.php.
References $server, and ilECSServerSettings\getInstance().
Here is the call graph for this function:| ilECSTaskScheduler::startTaskExecution | ( | ) |
Start Tasks.
private
Definition at line 141 of file class.ilECSTaskScheduler.php.
References $ilLog, handleDeprecatedAccounts(), handleEvents(), readEvents(), and readMIDs().
Here is the call graph for this function:
|
protected |
Definition at line 42 of file class.ilECSTaskScheduler.php.
|
private |
Definition at line 38 of file class.ilECSTaskScheduler.php.
|
staticprivate |
Definition at line 36 of file class.ilECSTaskScheduler.php.
|
protected |
Definition at line 41 of file class.ilECSTaskScheduler.php.
|
private |
Definition at line 44 of file class.ilECSTaskScheduler.php.
|
protected |
Definition at line 40 of file class.ilECSTaskScheduler.php.
Referenced by getServer().
| const ilECSTaskScheduler::MAX_TASKS = 30 |
Definition at line 34 of file class.ilECSTaskScheduler.php.
Referenced by handleEvents().