ILIAS
Release_5_0_x_branch Revision 61816
|
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_usr_id, ilECSEnrolmentStatus $status) | |
Perform update. |
Private Attributes | |
$server = null | |
$mid = 0 |
Description of class.
Definition at line 15 of file class.ilECSEnrolmentStatusCommandQueueHandler.php.
ilECSEnrolmentStatusCommandQueueHandler::__construct | ( | ilECSSetting | $server | ) |
Constructor.
Definition at line 24 of file class.ilECSEnrolmentStatusCommandQueueHandler.php.
References $server.
ilECSEnrolmentStatusCommandQueueHandler::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.ilECSEnrolmentStatusCommandQueueHandler.php.
|
protected |
Perform update.
type | $a_content_id | |
type | $course |
Definition at line 125 of file class.ilECSEnrolmentStatusCommandQueueHandler.php.
References $GLOBALS, $ref_id, ilObjUser\_addDesktopItem(), ilObjUser\_dropDesktopItem(), ilObject\_getAllReferences(), ilObject\_lookupType(), ilECSEnrolmentStatus\getId(), ilECSEnrolmentStatus\getStatus(), ilECSImport\lookupObjIdsByContentId(), ilECSEnrolmentStatus\STATUS_ACCOUNT_DEACTIVATED, ilECSEnrolmentStatus\STATUS_ACTIVE, ilECSEnrolmentStatus\STATUS_DENIED, ilECSEnrolmentStatus\STATUS_PENDING, ilECSEnrolmentStatus\STATUS_REJECTED, and ilECSEnrolmentStatus\STATUS_UNSUBSCRIBED.
Referenced by handleCreate().
ilECSEnrolmentStatusCommandQueueHandler::getMid | ( | ) |
Get mid.
Definition at line 42 of file class.ilECSEnrolmentStatusCommandQueueHandler.php.
References $mid.
ilECSEnrolmentStatusCommandQueueHandler::getServer | ( | ) |
Get server.
Definition at line 33 of file class.ilECSEnrolmentStatusCommandQueueHandler.php.
References $server.
ilECSEnrolmentStatusCommandQueueHandler::handleCreate | ( | ilECSSetting | $server, |
$a_content_id | |||
) |
Handle create.
ilECSSetting | $server | |
type | $a_content_id |
Implements ilECSCommandQueueHandler.
Definition at line 63 of file class.ilECSEnrolmentStatusCommandQueueHandler.php.
References $GLOBALS, doUpdate(), ilECSEnrolmentStatus\ID_UID, and ilUtil\parseImportId().
ilECSEnrolmentStatusCommandQueueHandler::handleDelete | ( | ilECSSetting | $server, |
$a_content_id | |||
) |
Handle delete.
ilECSSetting | $server | |
type | $a_content_id |
Implements ilECSCommandQueueHandler.
Definition at line 102 of file class.ilECSEnrolmentStatusCommandQueueHandler.php.
ilECSEnrolmentStatusCommandQueueHandler::handleUpdate | ( | ilECSSetting | $server, |
$a_content_id | |||
) |
Handle update.
ilECSSetting | $server | |
type | $a_content_id |
Implements ilECSCommandQueueHandler.
Definition at line 113 of file class.ilECSEnrolmentStatusCommandQueueHandler.php.
|
private |
Definition at line 18 of file class.ilECSEnrolmentStatusCommandQueueHandler.php.
Referenced by getMid().
|
private |
Definition at line 17 of file class.ilECSEnrolmentStatusCommandQueueHandler.php.
Referenced by __construct(), and getServer().