ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Course Pool listener. More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
getLogger () | |
Static Public Member Functions | |
static | initializeTimings ($a_obj_id, $a_usr_id, $a_role_id) |
initialize timings More... | |
static | destroyTimings ($a_obj_id, $a_usr_id) |
Delete timings for user. More... | |
static | handleEvent ($a_component, $a_event, $a_parameter) |
Handle an event in a listener. More... | |
static | setBlockedForLP ($a_status) |
Toggle LP blocking property status. More... | |
Protected Member Functions | |
handleUserAssignments ($a_event, $a_parameters) | |
handle user assignments More... | |
doAutoFill ($a_obj_id) | |
Trigger autofill from waiting list. More... | |
Static Protected Attributes | |
static | $timings_mode = null |
static | $course_mode = array() |
static | $blocked_for_lp |
Private Attributes | |
$logger = null | |
Course Pool listener.
Listens to events of other components.
Definition at line 12 of file class.ilCourseAppEventListener.php.
ilCourseAppEventListener::__construct | ( | ) |
Constructor.
Definition at line 24 of file class.ilCourseAppEventListener.php.
References ilLoggerFactory\getInstance().
|
static |
Delete timings for user.
int | $a_obj_id | |
int | $a_usr_id |
Definition at line 128 of file class.ilCourseAppEventListener.php.
References ilTimingsUser\getInstanceByContainerId().
|
protected |
Trigger autofill from waiting list.
int | $a_obj_id |
Definition at line 79 of file class.ilCourseAppEventListener.php.
References $factory, ilObject\_getAllReferences(), and getLogger().
ilCourseAppEventListener::getLogger | ( | ) |
Definition at line 32 of file class.ilCourseAppEventListener.php.
References $logger.
Referenced by doAutoFill(), and handleUserAssignments().
|
static |
Handle an event in a listener.
string | $a_component | component, e.g. "Modules/Forum" or "Services/User" |
string | $a_event | event e.g. "createUser", "updateUser", "deleteUser", ... |
array | $a_parameter | parameter array (assoc), array("name" => ..., "phone_office" => ...) |
Definition at line 146 of file class.ilCourseAppEventListener.php.
References ilObjUserTracking\_enabledLearningProgress(), ilObject\_lookupType(), ilObjectLP\getInstance(), ilLPObjSettings\LP_MODE_COLLECTION, ilLPObjSettings\LP_MODE_MANUAL_BY_TUTOR, ilLPObjSettings\LP_MODE_OBJECTIVES, ilLPStatus\LP_STATUS_COMPLETED_NUM, and ilObjCourse\STATUS_DETERMINATION_LP.
|
protected |
handle user assignments
type | $a_event | |
type | $a_parameters |
Definition at line 42 of file class.ilCourseAppEventListener.php.
References ilLoggerFactory\getInstance(), getLogger(), and ilParticipant\updateMemberRoles().
|
static |
initialize timings
Definition at line 101 of file class.ilCourseAppEventListener.php.
References ilTimingsUser\getInstanceByContainerId(), IL_CAL_UNIX, ilCourseConstants\IL_CRS_VIEW_TIMING_RELATIVE, and ilObjCourse\lookupTimingMode().
|
static |
Toggle LP blocking property status.
bool | $a_status |
Definition at line 239 of file class.ilCourseAppEventListener.php.
Referenced by ilObjCourseGUI\updateLPFromStatus().
|
staticprotected |
Definition at line 19 of file class.ilCourseAppEventListener.php.
|
staticprotected |
Definition at line 18 of file class.ilCourseAppEventListener.php.
|
private |
Definition at line 14 of file class.ilCourseAppEventListener.php.
Referenced by getLogger().
|
staticprotected |
Definition at line 16 of file class.ilCourseAppEventListener.php.