ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Calendar schedule filter for exercises. More...
Public Member Functions | |
__construct ($a_user_id) | |
getLogger () | |
filterCategories (array $a_cats) | |
modifyEvent (ilCalendarEntry $a_event) | |
addCustomEvents (ilDate $start, ilDate $end, array $a_categories) | |
Protected Member Functions | |
isExerciseCategory ($a_cat_id) | |
Check valid exercise calendar category. More... | |
Protected Attributes | |
$user_id | |
$logger | |
Calendar schedule filter for exercises.
Definition at line 15 of file class.ilCalendarScheduleFilterExercise.php.
ilCalendarScheduleFilterExercise::__construct | ( | $a_user_id | ) |
ilCalendarScheduleFilterExercise::addCustomEvents | ( | ilDate | $start, |
ilDate | $end, | ||
array | $a_categories | ||
) |
Implements ilCalendarScheduleFilter.
Definition at line 77 of file class.ilCalendarScheduleFilterExercise.php.
References $state, $user_id, ilCalendarCategoryAssignments\_getAssignedAppointments(), ilDateTime\_within(), ilExAssignment\DEADLINE_RELATIVE, ilExcAssMemberState\getInstanceByIds(), ilExAssignment\getInstancesByExercise(), IL_CAL_UNIX, and isExerciseCategory().
ilCalendarScheduleFilterExercise::filterCategories | ( | array | $a_cats | ) |
Implements ilCalendarScheduleFilter.
Definition at line 39 of file class.ilCalendarScheduleFilterExercise.php.
ilCalendarScheduleFilterExercise::getLogger | ( | ) |
Definition at line 34 of file class.ilCalendarScheduleFilterExercise.php.
References $logger.
Referenced by isExerciseCategory().
|
protected |
Check valid exercise calendar category.
int | $a_cat_id |
Definition at line 149 of file class.ilCalendarScheduleFilterExercise.php.
References ilCalendarCategory\getInstanceByCategoryId(), getLogger(), and ilCalendarCategory\TYPE_OBJ.
Referenced by addCustomEvents(), and modifyEvent().
ilCalendarScheduleFilterExercise::modifyEvent | ( | ilCalendarEntry | $a_event | ) |
Implements ilCalendarScheduleFilter.
Definition at line 44 of file class.ilCalendarScheduleFilterExercise.php.
References ilCalendarCategoryAssignments\_lookupCategory(), ilExAssignment\DEADLINE_RELATIVE, ilCalendarEntry\getContextId(), ilCalendarEntry\getEntryId(), and isExerciseCategory().
|
protected |
Definition at line 21 of file class.ilCalendarScheduleFilterExercise.php.
Referenced by getLogger().
|
protected |
Definition at line 17 of file class.ilCalendarScheduleFilterExercise.php.
Referenced by addCustomEvents().