| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
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  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... | |
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 $DIC, ilCalendarCategories\_lookupCategoryIdByObjId(), ilCalendarCategoryAssignments\addAssignment(), and ilObject\getId().
 Here is the call 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(), and ilCalendarCategory\TYPE_OBJ.
 Here is the call 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().
 Here is the call graph for this function:
      
  | 
  static | 
delete category
Definition at line 221 of file class.ilCalendarAppEventListener.php.
References $DIC, and ilCalendarCategories\_lookupCategoryIdByObjId().
 Here is the call graph for this function:
      
  | 
  static | 
Handle events like create, update, delete public.
| string | $a_component | component, e.g. "components/ILIAS/Forum" or "components/ILIAS/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, ilCalendarCategories\deletePDItemsCache(), and ilCalendarCategories\deleteRepositoryCache().
 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().
 Here is the call graph for this function: