|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
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 ($a_component, $a_event, $a_parameter) |
| Handle events like create, update, delete. More... | |
| static | createCategory ($a_obj, $a_check_existing=false) |
| Create a category for a new object (crs,grp, ...) More... | |
| static | updateCategory ($a_obj) |
| Create a category for a new object (crs,grp, ...) More... | |
| static | createAppointments ($a_obj, $a_appointments) |
| Create appointments. More... | |
| static | deleteAppointments ($a_obj_id, array $a_context_ids=null) |
| Delete automatic generated appointments. More... | |
| static | deleteCategory ($a_obj_id) |
| delete category More... | |
| static | handleEvent ($a_component, $a_event, $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 35 of file class.ilCalendarAppEventListener.php.
|
static |
Create appointments.
@access public
return
Definition at line 192 of file class.ilCalendarAppEventListener.php.
References $ilLog, ilCalendarCategories\_lookupCategoryIdByObjId(), and createCategory().
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, ...)
@access public
| object | ilias object ('crs','grp',...) |
Definition at line 142 of file class.ilCalendarAppEventListener.php.
References $lng, ilCalendarCategory\_getInstanceByObjId(), ilCalendarAppointmentColors\_getRandomColorByType(), 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.
@access public
| int | obj_id |
| array | context ids |
Definition at line 235 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
@access public
return
Definition at line 265 of file class.ilCalendarAppEventListener.php.
References $ilLog, 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 46 of file class.ilCalendarAppEventListener.php.
References $ilLog, $ilUser, createAppointments(), createCategory(), deleteAppointments(), deleteCategory(), ilCalendarCategories\deletePDItemsCache(), ilCalendarCategories\deleteRepositoryCache(), and updateCategory().
Here is the call graph for this function:
|
static |
Create a category for a new object (crs,grp, ...)
@access public
| object | ilias object ('crs','grp',...) |
Definition at line 171 of file class.ilCalendarAppEventListener.php.
References ilCalendarCategory\_getInstanceByObjId().
Referenced by createCategory(), and handleEvent().
Here is the call graph for this function:
Here is the caller graph for this function: