ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 | |
Static Protected Attributes | |
static | $logger |
Calendar schedule filter for exercises.
Definition at line 15 of file class.ilCalendarScheduleFilterExercise.php.
ilCalendarScheduleFilterExercise::__construct | ( | $a_user_id | ) |
Definition at line 20 of file class.ilCalendarScheduleFilterExercise.php.
References ilLoggerFactory\getLogger().
ilCalendarScheduleFilterExercise::addCustomEvents | ( | ilDate | $start, |
ilDate | $end, | ||
array | $a_categories | ||
) |
Implements ilCalendarScheduleFilter.
Definition at line 66 of file class.ilCalendarScheduleFilterExercise.php.
References ilCalendarCategoryAssignments\_getAssignedAppointments(), ilDateTime\_within(), array, ilExAssignment\getInstancesByExercise(), IL_CAL_UNIX, and isExerciseCategory().
ilCalendarScheduleFilterExercise::filterCategories | ( | array | $a_cats | ) |
Implements ilCalendarScheduleFilter.
Definition at line 31 of file class.ilCalendarScheduleFilterExercise.php.
ilCalendarScheduleFilterExercise::getLogger | ( | ) |
Definition at line 26 of file class.ilCalendarScheduleFilterExercise.php.
References $logger.
|
protected |
Check valid exercise calendar category.
int | $a_cat_id |
Definition at line 115 of file class.ilCalendarScheduleFilterExercise.php.
References ilCalendarCategory\getInstanceByCategoryId(), and ilCalendarCategory\TYPE_OBJ.
Referenced by addCustomEvents(), and modifyEvent().
ilCalendarScheduleFilterExercise::modifyEvent | ( | ilCalendarEntry | $a_event | ) |
Implements ilCalendarScheduleFilter.
Definition at line 36 of file class.ilCalendarScheduleFilterExercise.php.
References ilCalendarCategoryAssignments\_lookupCategory(), ilCalendarEntry\getContextId(), ilCalendarEntry\getEntryId(), and isExerciseCategory().
|
staticprotected |
Definition at line 18 of file class.ilCalendarScheduleFilterExercise.php.
Referenced by getLogger().
|
protected |
Definition at line 17 of file class.ilCalendarScheduleFilterExercise.php.