ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
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 24 of file class.ilECSTaskScheduler.php.
|
private |
Singleton constructor.
Definition at line 43 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 60 of file class.ilECSTaskScheduler.php.
References ilECSSetting\getInstanceByServerId().
Referenced by ilECSSettingsGUI\readAll(), and ilCronEcsTaskScheduler\run().
ilECSTaskScheduler::getServer | ( | ) |
Get server setting.
Definition at line 72 of file class.ilECSTaskScheduler.php.
References $settings.
Referenced by handleEvents(), readEvents(), and readMIDs().
|
private |
Delete deprecate ECS accounts.
Definition at line 219 of file class.ilECSTaskScheduler.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, and ilObjectFactory\getInstanceByObjId().
Referenced by startTaskExecution().
|
private |
Handle events.
Definition at line 108 of file class.ilECSTaskScheduler.php.
References $handler, $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 99 of file class.ilECSTaskScheduler.php.
References getServer().
Referenced by startTaskExecution().
|
private |
Read MID's of this installation.
Definition at line 236 of file class.ilECSTaskScheduler.php.
References ilECSCommunityReader\getInstanceByServerId(), and getServer().
Referenced by startTaskExecution().
ilECSTaskScheduler::startTaskExecution | ( | ) |
Start Tasks.
Definition at line 81 of file class.ilECSTaskScheduler.php.
References handleDeprecatedAccounts(), handleEvents(), readEvents(), and readMIDs().
|
private |
Definition at line 32 of file class.ilECSTaskScheduler.php.
|
private |
Definition at line 37 of file class.ilECSTaskScheduler.php.
|
private |
Definition at line 33 of file class.ilECSTaskScheduler.php.
|
staticprivate |
Definition at line 28 of file class.ilECSTaskScheduler.php.
|
private |
Definition at line 31 of file class.ilECSTaskScheduler.php.
|
private |
Definition at line 38 of file class.ilECSTaskScheduler.php.
|
private |
Definition at line 36 of file class.ilECSTaskScheduler.php.
Referenced by getServer().
const ilECSTaskScheduler::MAX_TASKS = 30 |
Definition at line 26 of file class.ilECSTaskScheduler.php.