ILIAS
Release_4_1_x_branch Revision 61804
|
Public Member Functions | |
__construct () | |
Singleton constructor. | |
startTaskExecution () | |
Start Tasks. | |
start () | |
Start. |
Static Public Member Functions | |
static | _getInstance () |
get singleton instance |
Data Fields | |
const | MAX_TASKS = 30 |
Protected Attributes | |
$settings = null | |
$log = null | |
$db |
Private Member Functions | |
readEvents () | |
Read EContent. | |
handleEvents () | |
Handle events. | |
handleNewlyCreate ($a_obj_id) | |
handleDelete ($econtent_id, $a_mid=0) | |
Handle delete private. | |
handleUpdate ($ecscontent) | |
Handle update/creation of remote courses. | |
handleDeprecatedAccounts () | |
Delete deprecate ECS accounts. | |
readMIDs () | |
Read MID's of this installation. |
Private Attributes | |
$event_reader = null | |
$mids = array() | |
$content = array() | |
$to_create = array() | |
$to_update = array() | |
$to_delete = array() |
Static Private Attributes | |
static | $instance = null |
Definition at line 32 of file class.ilECSTaskScheduler.php.
ilECSTaskScheduler::__construct | ( | ) |
Singleton constructor.
public
Definition at line 56 of file class.ilECSTaskScheduler.php.
References $ilDB, $ilLog, and _getInstance().
|
static |
get singleton instance
public
Definition at line 74 of file class.ilECSTaskScheduler.php.
References $instance.
Referenced by __construct(), ilSoapUtils\handleECSTasks(), ilECSSettingsGUI\readAll(), and readMIDs().
|
private |
Handle delete private.
array | array of event data |
Definition at line 251 of file class.ilECSTaskScheduler.php.
References $ref_id, ilObject\_getAllReferences(), ilECSImport\_lookupObjId(), ilECSImport\_lookupObjIds(), and ilObjectFactory\getInstanceByRefId().
Referenced by handleEvents(), and handleUpdate().
|
private |
Delete deprecate ECS accounts.
private
Definition at line 340 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 135 of file class.ilECSTaskScheduler.php.
References $reader, handleDelete(), handleNewlyCreate(), handleUpdate(), MAX_TASKS, ilECSEventQueueReader\OPERATION_DELETE, and ilECSEventQueueReader\OPERATION_NEWLY_CREATED.
Referenced by startTaskExecution().
|
private |
Definition at line 187 of file class.ilECSTaskScheduler.php.
References $ilLog, $reader, and ilObjectFactory\getInstanceByObjId().
Referenced by handleEvents().
|
private |
Handle update/creation of remote courses.
private
array | array of ecscontent |
Definition at line 288 of file class.ilECSTaskScheduler.php.
References $content, $ilLog, ilObjRemoteCourse\_createFromECSEContent(), ilECSParticipantSettings\_getInstance(), ilECSImport\_isImported(), ilECSImport\_lookupMIDs(), ilObjectFactory\getInstanceByObjId(), and handleDelete().
Referenced by handleEvents().
|
private |
Read EContent.
private
Definition at line 115 of file class.ilECSTaskScheduler.php.
Referenced by startTaskExecution().
|
private |
Read MID's of this installation.
private
Definition at line 368 of file class.ilECSTaskScheduler.php.
References $reader, and _getInstance().
Referenced by startTaskExecution().
ilECSTaskScheduler::start | ( | ) |
Start.
public
Definition at line 401 of file class.ilECSTaskScheduler.php.
References $_COOKIE, $client_id, $ilLog, $res, duplicate_session(), and ilSoapFunctions\handleECSTasks().
ilECSTaskScheduler::startTaskExecution | ( | ) |
Start Tasks.
private
Definition at line 89 of file class.ilECSTaskScheduler.php.
References $ilLog, handleDeprecatedAccounts(), handleEvents(), readEvents(), and readMIDs().
|
private |
Definition at line 45 of file class.ilECSTaskScheduler.php.
Referenced by handleUpdate().
|
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.
Referenced by _getInstance().
|
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.
|
private |
Definition at line 46 of file class.ilECSTaskScheduler.php.
|
private |
Definition at line 48 of file class.ilECSTaskScheduler.php.
|
private |
Definition at line 47 of file class.ilECSTaskScheduler.php.
const ilECSTaskScheduler::MAX_TASKS = 30 |
Definition at line 34 of file class.ilECSTaskScheduler.php.
Referenced by handleEvents().