ILIAS
release_4-3 Revision
|
Handles events (create,update,delete) for autmatic generated calendar events from course, groups, ... More...
Static Public Member Functions | |
static | handleEvent ($a_component, $a_event, $a_parameter) |
Handle events like create, update, delete. | |
static | createCategory ($a_obj) |
Create a category for a new object (crs,grp, ...) | |
static | updateCategory ($a_obj) |
Create a category for a new object (crs,grp, ...) | |
static | createAppointments ($a_obj, $a_appointments) |
Create appointments. | |
static | deleteAppointments ($a_obj_id) |
Delete automatic generated appointments. | |
static | deleteCategory ($a_obj_id) |
delete category |
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.
public
@return |
Definition at line 143 of file class.ilCalendarAppEventListener.php.
References $ilLog, ilCalendarCategories\_lookupCategoryIdByObjId(), ilCalendarCategoryAssignments\addAssignment(), and createCategory().
Referenced by handleEvent().
|
static |
Create a category for a new object (crs,grp, ...)
public
object | ilias object ('crs','grp',...) |
Definition at line 100 of file class.ilCalendarAppEventListener.php.
References $lng, ilCalendarAppointmentColors\_getRandomColorByType(), and ilCalendarCategory\TYPE_OBJ.
Referenced by createAppointments(), and handleEvent().
|
static |
Delete automatic generated appointments.
public
int | obj_id |
Definition at line 185 of file class.ilCalendarAppEventListener.php.
References ilCalendarEntry\_delete(), ilCalendarCategoryAssignments\_deleteByAppointmentId(), and ilCalendarCategoryAssignments\_getAutoGeneratedAppointmentsByObjId().
Referenced by handleEvent().
|
static |
delete category
public
@return |
Definition at line 205 of file class.ilCalendarAppEventListener.php.
References $ilLog, and ilCalendarCategories\_lookupCategoryIdByObjId().
Referenced by handleEvent().
|
static |
Handle events like create, update, delete.
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().
|
static |
Create a category for a new object (crs,grp, ...)
public
object | ilias object ('crs','grp',...) |
Definition at line 122 of file class.ilCalendarAppEventListener.php.
References ilCalendarCategory\_getInstanceByObjId().
Referenced by handleEvent().