|
ILIAS
trunk Revision v12.0_alpha-1613-gae4c99ebb18
|
Inheritance diagram for ILIAS\BookingManager\Bookings\Table\BookingsTable:
Collaboration diagram for ILIAS\BookingManager\Bookings\Table\BookingsTable:Public Member Functions | |
| __construct (protected readonly UIFactory $ui_factory, protected readonly UIRenderer $ui_renderer, protected readonly AccessManager $access, protected readonly ilGlobalTemplateInterface $tpl, protected readonly Refinery $refinery, protected readonly Language $lng, protected readonly HttpService $http, protected readonly ilObjUser $user, protected readonly ReservationDBRepository $reservation_repository, protected readonly ilCtrlInterface $ctrl, protected readonly ilUIService $ui_service, protected readonly Settings $settings, protected readonly ilObjBookingPool $booking_pool) | |
| getTableId () | |
| 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... | |
| getFilter () | |
| 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... | |
| getComponents (URLBuilder $url_builder) | |
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 | ROW_ID_PARAMETER = 'booking_id' |
| const | ACTION_PARAMETER = 'action' |
| const | ACTION_TYPE_PARAMETER = 'action_type' |
Protected Member Functions | |
| getUserPresentationName (int $user_id) | |
| getColumns () | |
| getFilterInputs () | |
| loadRecords (mixed $filter_data) | |
| sortRecords (Order $order, array $records) | |
| limitRecords (Range $range, array $records) | |
| acquireParameters (URLBuilder $url_builder) | |
| getUsers (?int $user_id=null) | |
| getStatuses () | |
| getTableActions () | |
| getUserComponent (int $user_id) | |
| getBookingTimeSlotFilterLabel (array $booking) | |
Protected Attributes | |
| readonly array | $booking_items |
| readonly array | $bookings |
| readonly array | $participants |
| readonly ColumnFactory | $column_factory |
| readonly InputFactory | $input_factory |
Private Member Functions | |
| presetFilterInputs (array $filter_inputs) | |
| getTable (URLBuilder $url_builder) | |
| getExportDropdown () | |
| resolveBookingPeriodBounds (mixed $period) | |
| parseBookingPeriodValue (mixed $value) | |
Definition at line 63 of file BookingsTable.php.
| ILIAS\BookingManager\Bookings\Table\BookingsTable::__construct | ( | protected readonly UIFactory | $ui_factory, |
| protected readonly UIRenderer | $ui_renderer, | ||
| protected readonly AccessManager | $access, | ||
| protected readonly ilGlobalTemplateInterface | $tpl, | ||
| protected readonly Refinery | $refinery, | ||
| protected readonly Language | $lng, | ||
| protected readonly HttpService | $http, | ||
| protected readonly ilObjUser | $user, | ||
| protected readonly ReservationDBRepository | $reservation_repository, | ||
| protected readonly ilCtrlInterface | $ctrl, | ||
| protected readonly ilUIService | $ui_service, | ||
| protected readonly Settings | $settings, | ||
| protected readonly ilObjBookingPool | $booking_pool | ||
| ) |
Definition at line 83 of file BookingsTable.php.
References ILIAS\Repository\access(), ilBookingReservation\getList(), ilBookingParticipant\getList(), ilBookingObject\getList(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 376 of file BookingsTable.php.
References ILIAS\UI\URLBuilder\acquireParameters().
Here is the call graph for this function:
|
protected |
Reimplemented in ILIAS\BookingManager\Bookings\Table\BookingsWithScheduleTable.
Definition at line 517 of file BookingsTable.php.
Referenced by ILIAS\BookingManager\Bookings\Table\BookingsTable\loadRecords(), and ILIAS\BookingManager\Bookings\Table\BookingsTable\sortRecords().
Here is the caller graph for this function:
|
abstractprotected |
| ILIAS\BookingManager\Bookings\Table\BookingsTable::getComponents | ( | URLBuilder | $url_builder | ) |
Implements ILIAS\BookingManager\Common\Table\Table.
Definition at line 369 of file BookingsTable.php.
|
private |
Definition at line 399 of file BookingsTable.php.
References ILIAS\Repository\ctrl(), ilBookingReservationsGUI\DEFAULT_CMD, ilTable2GUI\EXPORT_CSV, ilTable2GUI\EXPORT_EXCEL, and ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\BookingManager\Bookings\Table\BookingsTable::getFilter | ( | ) |
Definition at line 294 of file BookingsTable.php.
References ILIAS\Repository\ctrl(), ILIAS\BookingManager\Bookings\Table\BookingsTable\getFilterInputs(), and ILIAS\BookingManager\Bookings\Table\BookingsTable\presetFilterInputs().
Here is the call graph for this function:
|
abstractprotected |
Reimplemented in ILIAS\BookingManager\Bookings\Table\BookingsWithoutScheduleTable, and ILIAS\BookingManager\Bookings\Table\BookingsWithScheduleTable.
Referenced by ILIAS\BookingManager\Bookings\Table\BookingsTable\getFilter().
Here is the caller graph for this function:
|
abstract |
This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g.
yield $row_builder->buildStandardRow($row_id, $record).
| string[] | $visible_column_ids |
Implements ILIAS\UI\Component\Table\DataRetrieval.
Reimplemented in ILIAS\BookingManager\Bookings\Table\BookingsWithoutScheduleTable, and ILIAS\BookingManager\Bookings\Table\BookingsWithScheduleTable.
|
protected |
Definition at line 438 of file BookingsTable.php.
References ILIAS\Repository\lng(), ilBookingReservation\STATUS_CANCELLED, and ilBookingReservation\STATUS_IN_USE.
Here is the call graph for this function:
|
private |
Definition at line 386 of file BookingsTable.php.
References ILIAS\BookingManager\Common\Table\getTableActions(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\UI\Component\Table\Data\withActions().
Here is the call graph for this function:
|
protected |
Definition at line 446 of file BookingsTable.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Referenced by ILIAS\BookingManager\Bookings\Table\BookingsWithoutScheduleTable\getRows(), and ILIAS\BookingManager\Bookings\Table\BookingsWithScheduleTable\getRows().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\BookingManager\Bookings\Table\BookingsTable::getTableId | ( | ) |
Implements ILIAS\BookingManager\Common\Table\Table.
Definition at line 131 of file BookingsTable.php.
| ILIAS\BookingManager\Bookings\Table\BookingsTable::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.
Given the nature of a DataTable, which is, opposite to a PresentationTable, rather administrative than explorative, this information will increase user experience quite a bit. However, you may return null, if the call is to costly, but expect the View Control to look a little different in this case.
Make sure that potential filters or user restrictions are being applied to the count.
Implements ILIAS\UI\Component\Table\DataRetrieval.
Definition at line 361 of file BookingsTable.php.
|
protected |
Definition at line 463 of file BookingsTable.php.
References $user_id, ILIAS\Repository\ctrl(), and ilUserUtil\hasPublicProfile().
Here is the call graph for this function:
|
protected |
Definition at line 136 of file BookingsTable.php.
References $user_id, and ilUserUtil\getNamePresentation().
Referenced by ILIAS\BookingManager\Bookings\Table\BookingsTable\sortRecords().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 423 of file BookingsTable.php.
References $user_id.
|
protected |
Definition at line 289 of file BookingsTable.php.
References ILIAS\UI\Implementation\Component\Table\$range, ILIAS\Data\Range\getLength(), and ILIAS\Data\Range\getStart().
Here is the call graph for this function:
|
protected |
Definition at line 155 of file BookingsTable.php.
References ILIAS\BookingManager\Bookings\Table\BookingsTable\$bookings, ILIAS\BookingManager\Bookings\Table\BookingsTable\getBookingTimeSlotFilterLabel(), ILIAS\BookingManager\Bookings\Table\BookingsTable\resolveBookingPeriodBounds(), ilBookingReservation\STATUS_CANCELLED, and ilBookingReservation\STATUS_IN_USE.
Here is the call graph for this function:
|
private |
Definition at line 500 of file BookingsTable.php.
|
private |
Definition at line 314 of file BookingsTable.php.
References $user_id, ILIAS\Repository\access(), ILIAS\FileDelivery\http(), ILIAS\Repository\settings(), and ILIAS\Repository\user().
Referenced by ILIAS\BookingManager\Bookings\Table\BookingsTable\getFilter().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 481 of file BookingsTable.php.
Referenced by ILIAS\BookingManager\Bookings\Table\BookingsTable\loadRecords().
Here is the caller graph for this function:
|
protected |
Definition at line 229 of file BookingsTable.php.
References ILIAS\Data\Order\DESC, ILIAS\Data\Order\get(), ILIAS\BookingManager\Bookings\Table\BookingsTable\getBookingTimeSlotFilterLabel(), ILIAS\BookingManager\Bookings\Table\BookingsTable\getUserPresentationName(), and ILIAS\Repository\int().
Here is the call graph for this function:
|
protected |
Definition at line 73 of file BookingsTable.php.
|
protected |
Definition at line 75 of file BookingsTable.php.
Referenced by ILIAS\BookingManager\Bookings\Table\BookingsTable\loadRecords().
|
protected |
Definition at line 79 of file BookingsTable.php.
|
protected |
Definition at line 81 of file BookingsTable.php.
|
protected |
Definition at line 77 of file BookingsTable.php.
| const ILIAS\BookingManager\Bookings\Table\BookingsTable::ACTION_PARAMETER = 'action' |
Definition at line 69 of file BookingsTable.php.
| const ILIAS\BookingManager\Bookings\Table\BookingsTable::ACTION_TYPE_PARAMETER = 'action_type' |
Definition at line 71 of file BookingsTable.php.
| const ILIAS\BookingManager\Bookings\Table\BookingsTable::ROW_ID_PARAMETER = 'booking_id' |
Definition at line 67 of file BookingsTable.php.