|
ILIAS
release_8 Revision v8.24
|
Calendar schedule filter for booking pool reservations. More...
Inheritance diagram for ilCalendarScheduleFilterBookingPool:
Collaboration diagram for ilCalendarScheduleFilterBookingPool:Public Member Functions | |
| __construct (int $a_user_id) | |
| filterCategories (array $a_cats) | |
| @inheritDoc More... | |
| modifyEvent (ilCalendarEntry $a_event) | |
| @inheritDoc More... | |
| addCustomEvents (ilDate $start, ilDate $end, array $a_categories) | |
| @inheritDoc More... | |
| filterCategories (array $a_cats) | |
| modifyEvent (ilCalendarEntry $a_event) | |
| Modifies event properties. More... | |
| addCustomEvents (ilDate $start, ilDate $end, array $a_categories) | |
| Add (return) an array of custom ilCalendarEntry's. More... | |
Protected Member Functions | |
| isBookingPoolCategory (int $a_cat_id) | |
Protected Attributes | |
| int | $user_id |
| ilCalendarCategories | $cats |
Calendar schedule filter for booking pool reservations.
Definition at line 12 of file ilCalendarScheduleFilterBookingPool.php.
| ilCalendarScheduleFilterBookingPool::__construct | ( | int | $a_user_id | ) |
Definition at line 17 of file ilCalendarScheduleFilterBookingPool.php.
References ilCalendarCategories\_getInstance().
Here is the call graph for this function:| ilCalendarScheduleFilterBookingPool::addCustomEvents | ( | ilDate | $start, |
| ilDate | $end, | ||
| array | $a_categories | ||
| ) |
@inheritDoc
Implements ilCalendarScheduleFilter.
Definition at line 57 of file ilCalendarScheduleFilterBookingPool.php.
| ilCalendarScheduleFilterBookingPool::filterCategories | ( | array | $a_cats | ) |
@inheritDoc
Implements ilCalendarScheduleFilter.
Definition at line 26 of file ilCalendarScheduleFilterBookingPool.php.
|
protected |
| $a_cat_id |
Definition at line 66 of file ilCalendarScheduleFilterBookingPool.php.
References ilCalendarCategory\getInstanceByCategoryId(), and ilCalendarCategory\TYPE_BOOK.
Referenced by modifyEvent().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarScheduleFilterBookingPool::modifyEvent | ( | ilCalendarEntry | $a_event | ) |
@inheritDoc
booking pool reservations are stored in the database with ending time excluded. Keeping it 1 second under the entered end date. e.g. Event from 10:00 to 11:00 is stored 10:00 to 10:59 using timestamps. incrementing 1 second avoid titles/zip folders using this -1 second representation.
Implements ilCalendarScheduleFilter.
Definition at line 34 of file ilCalendarScheduleFilterBookingPool.php.
References ilCalendarCategoryAssignments\_lookupCategory(), ilCalendarEntry\getEnd(), ilCalendarEntry\getEntryId(), IL_CAL_UNIX, isBookingPoolCategory(), and ilCalendarEntry\setEnd().
Here is the call graph for this function:
|
protected |
Definition at line 15 of file ilCalendarScheduleFilterBookingPool.php.
|
protected |
Definition at line 14 of file ilCalendarScheduleFilterBookingPool.php.