|
ILIAS
release_8 Revision v8.24
|
Handles events (create,update,delete) for autmatic generated calendar events from course, groups, ... More...
Inheritance diagram for ilCalendarAppEventListener:
Collaboration diagram for ilCalendarAppEventListener:Static Public Member Functions | |
| static | handleEvent (string $a_component, string $a_event, array $a_parameter) |
| Handle events like create, update, delete @access public. More... | |
| static | createCategory (ilObject $a_obj, bool $a_check_existing=false) |
| Create a category for a new object (crs,grp, ...) More... | |
| static | updateCategory (ilObject $a_obj) |
| Update category for a object (crs,grp, ...) More... | |
| static | createAppointments (ilObject $a_obj, array $a_appointments) |
| Create appointments. More... | |
| static | deleteAppointments (int $a_obj_id, ?array $a_context_ids=null) |
| Delete automatic generated appointments. More... | |
| static | deleteCategory (int $a_obj_id) |
| delete category More... | |
| static | handleEvent (string $a_component, string $a_event, array $a_parameter) |
| Handle an event in a listener. More... | |
Handles events (create,update,delete) for autmatic generated calendar events from course, groups, ...
Definition at line 33 of file class.ilCalendarAppEventListener.php.
|
static |
Create appointments.
| ilObject | |
| ilCalendarAppointmentTemplate[] |
Definition at line 168 of file class.ilCalendarAppEventListener.php.
References $app, $DIC, ilCalendarCategories\_lookupCategoryIdByObjId(), createCategory(), and ilObject\getId().
Referenced by handleEvent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Create a category for a new object (crs,grp, ...)
Definition at line 130 of file class.ilCalendarAppEventListener.php.
References $DIC, $lng, ilCalendarCategory\_getInstanceByObjId(), ilCalendarAppointmentColors\_getRandomColorByType(), ilObject\getId(), ilObject\getTitle(), ilObject\getType(), ilCalendarCategory\TYPE_OBJ, and updateCategory().
Referenced by createAppointments(), and handleEvent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Delete automatic generated appointments.
Definition at line 203 of file class.ilCalendarAppEventListener.php.
References ilCalendarEntry\_delete(), ilCalendarCategoryAssignments\_deleteByAppointmentId(), and ilCalendarCategoryAssignments\_getAutoGeneratedAppointmentsByObjId().
Referenced by handleEvent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
delete category
Definition at line 221 of file class.ilCalendarAppEventListener.php.
References $DIC, and ilCalendarCategories\_lookupCategoryIdByObjId().
Referenced by handleEvent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Handle events like create, update, delete @access public.
| 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" => ...) * |
Implements ilAppEventListener.
Definition at line 43 of file class.ilCalendarAppEventListener.php.
References $DIC, $ilUser, createAppointments(), createCategory(), deleteAppointments(), deleteCategory(), ilCalendarCategories\deletePDItemsCache(), ilCalendarCategories\deleteRepositoryCache(), and updateCategory().
Here is the call graph for this function:
|
static |
Update category for a object (crs,grp, ...)
Definition at line 152 of file class.ilCalendarAppEventListener.php.
References ilCalendarCategory\_getInstanceByObjId(), ilObject\getId(), and ilObject\getTitle().
Referenced by createCategory(), and handleEvent().
Here is the call graph for this function:
Here is the caller graph for this function: