ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Course Pool listener. More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
getLogger () | |
Static Public Member Functions | |
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 | $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 22 of file class.ilCourseAppEventListener.php.
References ilLoggerFactory\getInstance().
|
protected |
Trigger autofill from waiting list.
int | $a_obj_id |
Definition at line 83 of file class.ilCourseAppEventListener.php.
References $ref_id, ilObject\_getAllReferences(), and getLogger().
ilCourseAppEventListener::getLogger | ( | ) |
Definition at line 31 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 110 of file class.ilCourseAppEventListener.php.
References ilObjUserTracking\_enabledLearningProgress(), ilObject\_lookupType(), ilCourseParticipants\_updatePassed(), 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 41 of file class.ilCourseAppEventListener.php.
References ilLoggerFactory\getInstance(), getLogger(), and ilParticipant\updateMemberRoles().
|
static |
Toggle LP blocking property status.
bool | $a_status |
Definition at line 204 of file class.ilCourseAppEventListener.php.
Referenced by ilObjCourseGUI\updateLPFromStatus().
|
staticprotected |
Definition at line 17 of file class.ilCourseAppEventListener.php.
|
staticprotected |
Definition at line 16 of file class.ilCourseAppEventListener.php.
|
private |
Definition at line 14 of file class.ilCourseAppEventListener.php.
Referenced by getLogger().