ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
getServer () | |
Get server setting. More... | |
startTaskExecution () | |
Start Tasks. More... | |
Static Public Member Functions | |
static | _getInstanceByServerId ($a_server_id) |
get singleton instance Private access use ilECSTaskScheduler::start() or ilECSTaskScheduler::startTaskExecution More... | |
Data Fields | |
const | MAX_TASKS = 30 |
Private Member Functions | |
__construct (ilECSSetting $setting) | |
Singleton constructor. More... | |
readEvents () | |
Read EContent. More... | |
handleEvents () | |
Handle events. More... | |
handleDeprecatedAccounts () | |
Delete deprecate ECS accounts. More... | |
readMIDs () | |
Read MID's of this installation. More... | |
Private Attributes | |
ilLogger | $log |
ilDBInterface | $db |
ilAppEventHandler | $eventHandler |
ilECSSetting | $settings |
ilECSEventQueueReader | $event_reader = null |
array | $mids = array() |
Static Private Attributes | |
static array | $instances = array() |
Definition at line 23 of file class.ilECSTaskScheduler.php.
|
private |
Singleton constructor.
Definition at line 42 of file class.ilECSTaskScheduler.php.
References $DIC, and ILIAS\Repository\settings().
|
static |
get singleton instance Private access use ilECSTaskScheduler::start() or ilECSTaskScheduler::startTaskExecution
Definition at line 59 of file class.ilECSTaskScheduler.php.
References ilECSSetting\getInstanceByServerId().
Referenced by ilECSSettingsGUI\readAll(), and ilCronEcsTaskScheduler\run().
ilECSTaskScheduler::getServer | ( | ) |
Get server setting.
Definition at line 71 of file class.ilECSTaskScheduler.php.
References $settings.
Referenced by handleEvents(), readEvents(), and readMIDs().
|
private |
Delete deprecate ECS accounts.
Definition at line 218 of file class.ilECSTaskScheduler.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, and ilObjectFactory\getInstanceByObjId().
Referenced by startTaskExecution().
|
private |
Handle events.
Definition at line 107 of file class.ilECSTaskScheduler.php.
References $i, $res, ilECSEvent\CREATED, ilECSEvent\DESTROYED, ilRemoteObjectBase\getInstanceByEventType(), getServer(), 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().
|
private |
Read EContent.
Definition at line 98 of file class.ilECSTaskScheduler.php.
References getServer().
Referenced by startTaskExecution().
|
private |
Read MID's of this installation.
Definition at line 235 of file class.ilECSTaskScheduler.php.
References ilECSCommunityReader\getInstanceByServerId(), and getServer().
Referenced by startTaskExecution().
ilECSTaskScheduler::startTaskExecution | ( | ) |
Start Tasks.
Definition at line 80 of file class.ilECSTaskScheduler.php.
References handleDeprecatedAccounts(), handleEvents(), readEvents(), and readMIDs().
|
private |
Definition at line 31 of file class.ilECSTaskScheduler.php.
|
private |
Definition at line 36 of file class.ilECSTaskScheduler.php.
|
private |
Definition at line 32 of file class.ilECSTaskScheduler.php.
|
staticprivate |
Definition at line 27 of file class.ilECSTaskScheduler.php.
|
private |
Definition at line 30 of file class.ilECSTaskScheduler.php.
|
private |
Definition at line 37 of file class.ilECSTaskScheduler.php.
|
private |
Definition at line 35 of file class.ilECSTaskScheduler.php.
Referenced by getServer().
const ilECSTaskScheduler::MAX_TASKS = 30 |
Definition at line 25 of file class.ilECSTaskScheduler.php.