ILIAS
release_4-3 Revision
|
Description of class. More...
Public Member Functions | |
__construct (ilECSSetting $server) | |
Constructor. | |
getServer () | |
Get server. | |
getMid () | |
Get mid. | |
checkAllocationActivation (ilECSSetting $server, $a_content_id) | |
Check if course allocation is activated for one recipient of the. | |
handleCreate (ilECSSetting $server, $a_content_id) | |
Handle create. | |
handleDelete (ilECSSetting $server, $a_content_id) | |
Handle delete. | |
handleUpdate (ilECSSetting $server, $a_content_id) | |
Handle update. |
Protected Member Functions | |
doUpdate ($a_content_id, $course) | |
Perform update. |
Private Member Functions | |
readCourse (ilECSSetting $server, $a_content_id, $a_details=false) | |
Read course from ecs. |
Private Attributes | |
$server = null | |
$mid = 0 |
Description of class.
Definition at line 15 of file class.ilECSCmsCourseCommandQueueHandler.php.
ilECSCmsCourseCommandQueueHandler::__construct | ( | ilECSSetting | $server | ) |
Constructor.
Definition at line 24 of file class.ilECSCmsCourseCommandQueueHandler.php.
References $server.
ilECSCmsCourseCommandQueueHandler::checkAllocationActivation | ( | ilECSSetting | $server, |
$a_content_id | |||
) |
Check if course allocation is activated for one recipient of the.
ilECSSetting | $server | |
type | $a_content_id |
Definition at line 52 of file class.ilECSCmsCourseCommandQueueHandler.php.
References $GLOBALS, ilECSParticipantSetting\getInstance(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), and getServer().
Referenced by handleCreate(), and handleUpdate().
|
protected |
Perform update.
type | $a_content_id | |
type | $course |
Definition at line 163 of file class.ilECSCmsCourseCommandQueueHandler.php.
References $GLOBALS, and getServer().
Referenced by handleCreate(), and handleUpdate().
ilECSCmsCourseCommandQueueHandler::getMid | ( | ) |
Get mid.
Definition at line 42 of file class.ilECSCmsCourseCommandQueueHandler.php.
References $mid.
Referenced by checkAllocationActivation().
ilECSCmsCourseCommandQueueHandler::getServer | ( | ) |
Get server.
Definition at line 33 of file class.ilECSCmsCourseCommandQueueHandler.php.
References $server.
Referenced by checkAllocationActivation(), and doUpdate().
ilECSCmsCourseCommandQueueHandler::handleCreate | ( | ilECSSetting | $server, |
$a_content_id | |||
) |
Handle create.
ilECSSetting | $server | |
type | $a_content_id |
Implements ilECSCommandQueueHandler.
Definition at line 95 of file class.ilECSCmsCourseCommandQueueHandler.php.
References $GLOBALS, checkAllocationActivation(), doUpdate(), and readCourse().
ilECSCmsCourseCommandQueueHandler::handleDelete | ( | ilECSSetting | $server, |
$a_content_id | |||
) |
Handle delete.
ilECSSetting | $server | |
type | $a_content_id |
Implements ilECSCommandQueueHandler.
Definition at line 125 of file class.ilECSCmsCourseCommandQueueHandler.php.
ilECSCmsCourseCommandQueueHandler::handleUpdate | ( | ilECSSetting | $server, |
$a_content_id | |||
) |
Handle update.
ilECSSetting | $server | |
type | $a_content_id |
Implements ilECSCommandQueueHandler.
Definition at line 136 of file class.ilECSCmsCourseCommandQueueHandler.php.
References $GLOBALS, checkAllocationActivation(), doUpdate(), and readCourse().
|
private |
Read course from ecs.
Definition at line 177 of file class.ilECSCmsCourseCommandQueueHandler.php.
Referenced by handleCreate(), and handleUpdate().
|
private |
Definition at line 18 of file class.ilECSCmsCourseCommandQueueHandler.php.
Referenced by getMid().
|
private |
Definition at line 17 of file class.ilECSCmsCourseCommandQueueHandler.php.
Referenced by __construct(), and getServer().