|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Course Pool listener. More...
Collaboration diagram for ilCourseAppEventListener: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().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:| ilCourseAppEventListener::getLogger | ( | ) |
Definition at line 31 of file class.ilCourseAppEventListener.php.
References $logger.
Referenced by doAutoFill(), and handleUserAssignments().
Here is the caller graph for this function:
|
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 $blocked_for_lp, 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.
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
|
static |
Toggle LP blocking property status.
| bool | $a_status |
Definition at line 204 of file class.ilCourseAppEventListener.php.
Referenced by ilObjCourseGUI\updateLPFromStatus().
Here is the caller graph for this function:
|
staticprotected |
Definition at line 17 of file class.ilCourseAppEventListener.php.
Referenced by handleEvent().
|
staticprotected |
Definition at line 16 of file class.ilCourseAppEventListener.php.
|
private |
Definition at line 14 of file class.ilCourseAppEventListener.php.
Referenced by getLogger().