| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
 Inheritance diagram for ilCalendarScheduleFilterTimings:
 Collaboration diagram for ilCalendarScheduleFilterTimings:Public Member Functions | |
| __construct (int $a_usr_id) | |
| getLogger () | |
| filterCategories (array $a_cats) | |
| Filter categories All categories are show no filtering (support for individual folder appointments)  More... | |
| modifyEvent (ilCalendarEntry $a_event) | |
| modify event => return false for not presenting event  More... | |
| addCustomEvents (ilDate $start, ilDate $end, array $a_categories) | |
| Add custom events: relative timings, modified timings .  More... | |
Protected Member Functions | |
| findCalendarEntriesForItem (int $category_id, int $item_ref_id) | |
| isCourseCategory (int $a_category_id) | |
| enabledCourseTimings (int $a_course_ref) | |
Protected Attributes | |
| const | CAL_TIMING_START = 1 | 
| const | CAL_TIMING_END = 2 | 
Private Attributes | |
| int | $user_id = 0 | 
| ilLogger | $logger | 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Calendar schedule filter for individual timings
Definition at line 25 of file class.ilCalendarScheduleFilterTimings.php.
| ilCalendarScheduleFilterTimings::__construct | ( | int | $a_usr_id | ) | 
PhpUndefinedMethodInspection
Definition at line 34 of file class.ilCalendarScheduleFilterTimings.php.
References $DIC, and ILIAS\Repository\logger().
 Here is the call graph for this function:| ilCalendarScheduleFilterTimings::addCustomEvents | ( | ilDate | $start, | 
| ilDate | $end, | ||
| array | $a_categories | ||
| ) | 
Add custom events: relative timings, modified timings .
Implements ilCalendarScheduleFilter.
Definition at line 136 of file class.ilCalendarScheduleFilterTimings.php.
References ilObject\_getAllReferences(), ilDateTime\_within(), ilObjCourse\CAL_COURSE_TIMING_END, ilObjCourse\CAL_COURSE_TIMING_START, enabledCourseTimings(), findCalendarEntriesForItem(), getLogger(), ilObjectActivation\getTimingsItems(), IL_CAL_DATE, ilCourseConstants\IL_CRS_VIEW_TIMING_ABSOLUTE, isCourseCategory(), ILIAS\Repository\logger(), ilObjCourse\lookupTimingMode(), and ilObjectActivation\TIMINGS_PRESETTING.
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 238 of file class.ilCalendarScheduleFilterTimings.php.
References ilObject\_lookupObjId(), ilObjCourse\_lookupViewMode(), getLogger(), and ilContainer\VIEW_TIMING.
Referenced by addCustomEvents(), and modifyEvent().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilCalendarScheduleFilterTimings::filterCategories | ( | array | $a_cats | ) | 
Filter categories All categories are show no filtering (support for individual folder appointments)
| int[] | $a_cats | 
Implements ilCalendarScheduleFilter.
Definition at line 54 of file class.ilCalendarScheduleFilterTimings.php.
      
  | 
  protected | 
Definition at line 203 of file class.ilCalendarScheduleFilterTimings.php.
References ilCalendarCategoryAssignments\_getAssignedAppointments(), ilObjCourse\CAL_COURSE_TIMING_END, and ilObjCourse\CAL_COURSE_TIMING_START.
Referenced by addCustomEvents().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilCalendarScheduleFilterTimings::getLogger | ( | ) | 
Definition at line 43 of file class.ilCalendarScheduleFilterTimings.php.
References $logger.
Referenced by addCustomEvents(), enabledCourseTimings(), isCourseCategory(), and modifyEvent().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 223 of file class.ilCalendarScheduleFilterTimings.php.
References ilCalendarCategory\getInstanceByCategoryId(), getLogger(), and ilCalendarCategory\TYPE_OBJ.
Referenced by addCustomEvents(), and modifyEvent().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilCalendarScheduleFilterTimings::modifyEvent | ( | ilCalendarEntry | $a_event | ) | 
modify event => return false for not presenting event
Implements ilCalendarScheduleFilter.
Definition at line 62 of file class.ilCalendarScheduleFilterTimings.php.
References $ref_id, ilObject\_getAllReferences(), ilCalendarCategoryAssignments\_lookupCategory(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObjCourse\CAL_COURSE_TIMING_END, ilObjCourse\CAL_COURSE_TIMING_START, enabledCourseTimings(), ilCalendarEntry\getContextId(), ilCalendarEntry\getContextInfo(), ilCalendarEntry\getEntryId(), ilObjectActivation\getItem(), getLogger(), ilCalendarEntry\getPresentationTitle(), ilCalendarEntry\getTitle(), ilCourseConstants\IL_CRS_VIEW_TIMING_RELATIVE, ILIAS\Repository\int(), ilCalendarEntry\isAutoGenerated(), isCourseCategory(), ilObjCourse\lookupTimingMode(), ilCalendarEntry\setTitle(), and ilObjectActivation\TIMINGS_PRESETTING.
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 32 of file class.ilCalendarScheduleFilterTimings.php.
Referenced by getLogger().
      
  | 
  private | 
Definition at line 30 of file class.ilCalendarScheduleFilterTimings.php.
      
  | 
  protected | 
Definition at line 28 of file class.ilCalendarScheduleFilterTimings.php.
      
  | 
  protected | 
Definition at line 27 of file class.ilCalendarScheduleFilterTimings.php.