ILIAS
Release_5_0_x_branch Revision 61816
|
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 |
|
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().
ilECSTaskScheduler::checkNextExecution | ( | ) |
Start.
public
Definition at line 363 of file class.ilECSTaskScheduler.php.
References $ilDB, $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().
|
private |
Delete deprecate ECS accounts.
private
Definition at line 302 of file class.ilECSTaskScheduler.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and ilObjectFactory\getInstanceByObjId().
Referenced by startTaskExecution().
|
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_ENROLMENT_STATUS, 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().
|
protected |
Call next task scheduler run.
Definition at line 403 of file class.ilECSTaskScheduler.php.
References $_COOKIE, $client_id, $ilLog, $res, ilSession\_duplicate(), and ilSoapFunctions\handleECSTasks().
|
private |
Read EContent.
private
Definition at line 167 of file class.ilECSTaskScheduler.php.
References getServer().
Referenced by startTaskExecution().
|
private |
Read MID's of this installation.
private
Definition at line 330 of file class.ilECSTaskScheduler.php.
References $reader, ilECSCommunityReader\getInstanceByServerId(), and getServer().
Referenced by startTaskExecution().
|
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().
|
static |
Static version iterates over all active instances.
Definition at line 114 of file class.ilECSTaskScheduler.php.
References $server, and ilECSServerSettings\getInstance().
ilECSTaskScheduler::startTaskExecution | ( | ) |
Start Tasks.
private
Definition at line 141 of file class.ilECSTaskScheduler.php.
References $ilLog, handleDeprecatedAccounts(), handleEvents(), readEvents(), and readMIDs().
|
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().