|
ILIAS
trunk Revision v12.0_alpha-1613-gae4c99ebb18
|
Inheritance diagram for ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable:
Collaboration diagram for ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable:Public Member Functions | |
| formatDateTime (int $slot_from, int $slot_to, bool $is_all_day=false) | |
Public Member Functions inherited from ILIAS\BookingManager\BookableItem\Table\BookableItemTable | |
| __construct (protected readonly UIFactory $ui_factory, protected readonly UIRenderer $ui_renderer, protected readonly ilLanguage $lng, protected readonly HttpService $http, protected readonly ilUIService $ui_service, protected readonly ilCtrlInterface $ctrl, protected readonly ilGlobalTemplateInterface $tpl, protected readonly Refinery $refinery, protected readonly AccessManager $access, protected readonly ilObjBookingPool $pool, protected readonly BookingProcessManager $process_manager, protected readonly Settings $settings, protected readonly ilObjUser $user, protected readonly int $ref_id, protected readonly bool $active_management, protected readonly int $booking_context_obj_id,) | |
| getTableId () | |
| getComponents (URLBuilder $url_builder) | |
| getTotalRowCount (mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| Mainly for the purpose of pagination-support, it is important to know about the total number of records available. More... | |
| getRows (DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g. More... | |
Public Member Functions inherited from ILIAS\BookingManager\Common\Table\Table | |
| getTableId () | |
| execute (URLBuilder $url_builder) | |
| getComponents (URLBuilder $url_builder) | |
| getRows (DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g. More... | |
| getTotalRowCount (mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| Mainly for the purpose of pagination-support, it is important to know about the total number of records available. More... | |
Data Fields | |
| const string | ID = 'bkbiws' |
| const int | MAX_WEEKS_IN_THE_FUTURE = 52 |
Data Fields inherited from ILIAS\BookingManager\BookableItem\Table\BookableItemTable | |
| const string | ROW_ID_PARAMETER = 'bookable_item_row' |
| const string | ACTION_PARAMETER = 'action' |
| const string | ACTION_TYPE_PARAMETER = 'action_type' |
Protected Member Functions | |
| getColumns () | |
| getFilterInputs () | |
| loadRecords (mixed $filter_data) | |
| buildRowCells (array $record) | |
| getSortCallable (string $key, int $direction) | |
Protected Member Functions inherited from ILIAS\BookingManager\BookableItem\Table\BookableItemTable | |
| getColumns () | |
| getFilterInputs () | |
| loadRecords (mixed $filter_data) | |
| buildRowCells (array $record) | |
| sortRecords (Order $order, array $records) | |
| getSortCallable (string $key, int $direction) | |
| limitRecords (Range $range, array $records) | |
| getFilterComponent () | |
| acquireParameters (URLBuilder $url_builder) | |
| getTableActions () | |
| loadFilteredBookingObjects (?string $title_filter, ?string $description_filter, ?array $object_ids_filter) | |
| getReservationsForObject (int $booking_object_id) | |
| buildAvailabilityCell (int $available, int $total) | |
Private Member Functions | |
| enumerateSlots (ilBookingSchedule $schedule, ?int $period_start=null, ?int $period_end=null) | |
| composeRow (array $item, int $object_id, int $slot_from, int $slot_to, bool $is_all_day=false) | |
| hasReservation (int $object_id, int $slot_from, int $slot_to, ?int $user_id=null) | |
| hasActiveReservation (int $object_id, int $slot_from, int $slot_to, ?int $user_id=null) | |
| countReservations (int $object_id, int $slot_from, int $slot_to) | |
| countActiveReservations (int $object_id, int $slot_from, int $slot_to) | |
| isAllDaySchedule (ilBookingSchedule $schedule) | |
| getTimeSlotLabel (int $slot_from, int $slot_to, bool $is_all_day) | |
| stringFilter (array $filter_data, string $key) | |
| arrayFilter (array $filter_data, string $key) | |
| resolvePeriod (array $filter_data) | |
| defaultPeriodStart () | |
| userTimeZoneId () | |
| parsePeriodEndpoint (mixed $value) | |
Private Attributes | |
| const | WEEKDAYS_MAP |
Definition at line 33 of file BookableItemWithScheduleTable.php.
|
private |
Definition at line 344 of file BookableItemWithScheduleTable.php.
Referenced by ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable\loadRecords().
Here is the caller graph for this function:
|
protected |
Reimplemented from ILIAS\BookingManager\BookableItem\Table\BookableItemTable.
Definition at line 135 of file BookableItemWithScheduleTable.php.
References ILIAS\BookingManager\BookableItem\Table\BookableItemTable\buildAvailabilityCell(), and ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable\formatDateTime().
Here is the call graph for this function:
|
private |
| array<string,mixed> | $item |
Definition at line 227 of file BookableItemWithScheduleTable.php.
Referenced by ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable\loadRecords().
Here is the caller graph for this function:
|
private |
Definition at line 291 of file BookableItemWithScheduleTable.php.
References ilBookingReservation\STATUS_CANCELLED.
|
private |
Definition at line 279 of file BookableItemWithScheduleTable.php.
|
private |
Definition at line 378 of file BookableItemWithScheduleTable.php.
|
private |
| array{int,int}|null | $period_bounds null = no period filter (clip by schedule availability only) |
Definition at line 160 of file BookableItemWithScheduleTable.php.
References ilBookingSchedule\getAvailabilityFrom(), ilBookingSchedule\getAvailabilityTo(), ilBookingSchedule\getDeadline(), ilBookingSchedule\getDefinition(), IL_CAL_UNIX, and ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable\MAX_WEEKS_IN_THE_FUTURE.
Referenced by ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable\loadRecords().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable::formatDateTime | ( | int | $slot_from, |
| int | $slot_to, | ||
| bool | $is_all_day = false |
||
| ) |
Definition at line 304 of file BookableItemWithScheduleTable.php.
References ilDatePresentation\formatDate(), ilDatePresentation\formatPeriod(), IL_CAL_UNIX, and ILIAS\Repository\lng().
Referenced by ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable\buildRowCells().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Reimplemented from ILIAS\BookingManager\BookableItem\Table\BookableItemTable.
Definition at line 53 of file BookableItemWithScheduleTable.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Reimplemented from ILIAS\BookingManager\BookableItem\Table\BookableItemTable.
Definition at line 67 of file BookableItemWithScheduleTable.php.
References ilBookingObject\getList(), ILIAS\Repository\int(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Reimplemented from ILIAS\BookingManager\BookableItem\Table\BookableItemTable.
Definition at line 149 of file BookableItemWithScheduleTable.php.
References Vendor\Package\$a, Vendor\Package\$b, and ILIAS\Repository\int().
Here is the call graph for this function:
|
private |
Definition at line 324 of file BookableItemWithScheduleTable.php.
References ILIAS\Repository\lng().
Referenced by ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable\loadRecords().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 267 of file BookableItemWithScheduleTable.php.
References $user_id, and ilBookingReservation\STATUS_CANCELLED.
|
private |
Definition at line 256 of file BookableItemWithScheduleTable.php.
References $user_id.
|
private |
Definition at line 319 of file BookableItemWithScheduleTable.php.
References ilBookingSchedule\getScheduleType(), and ilBookingSchedule\SCHEDULE_TYPE_ALL_DAY.
Referenced by ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable\loadRecords().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Reimplemented from ILIAS\BookingManager\BookableItem\Table\BookableItemTable.
Definition at line 88 of file BookableItemWithScheduleTable.php.
References ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable\arrayFilter(), ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable\composeRow(), ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable\enumerateSlots(), ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable\getTimeSlotLabel(), ILIAS\Repository\int(), ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable\isAllDaySchedule(), ILIAS\BookingManager\BookableItem\Table\BookableItemTable\loadFilteredBookingObjects(), ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable\resolvePeriod(), and ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable\stringFilter().
Here is the call graph for this function:
|
private |
Definition at line 388 of file BookableItemWithScheduleTable.php.
|
private |
Definition at line 356 of file BookableItemWithScheduleTable.php.
Referenced by ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable\loadRecords().
Here is the caller graph for this function:
|
private |
Definition at line 336 of file BookableItemWithScheduleTable.php.
Referenced by ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable\loadRecords().
Here is the caller graph for this function:
|
private |
Definition at line 383 of file BookableItemWithScheduleTable.php.
References ILIAS\Repository\user().
Here is the call graph for this function:| const string ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable::ID = 'bkbiws' |
Definition at line 35 of file BookableItemWithScheduleTable.php.
| const int ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable::MAX_WEEKS_IN_THE_FUTURE = 52 |
Definition at line 38 of file BookableItemWithScheduleTable.php.
Referenced by ILIAS\BookingManager\BookableItem\Table\BookableItemWithScheduleTable\enumerateSlots().
|
private |
Definition at line 40 of file BookableItemWithScheduleTable.php.