|
ILIAS
trunk Revision v12.0_alpha-1613-gae4c99ebb18
|
Inheritance diagram for ILIAS\BookingManager\Schedule\Table\ScheduleTable:
Collaboration diagram for ILIAS\BookingManager\Schedule\Table\ScheduleTable:Public Member Functions | |
| __construct (private readonly ilCtrlInterface $ctrl, private readonly ilLanguage $lng, private readonly ilGlobalTemplateInterface $tpl, private readonly UIFactory $ui_factory, private readonly UIRenderer $ui_renderer, private readonly Refinery $refinery, private readonly AccessManager $access, private readonly HttpService $http, private readonly ScheduleManager $schedule_manager, private readonly int $ref_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 | ID = 'bksd' |
| const | ROW_ID_PARAMETER = 'schedule_id' |
| const | ACTION_PARAMETER = 'action' |
| const | ACTION_TYPE_PARAMETER = 'action_type' |
Protected Member Functions | |
| loadRecords (mixed $filter_data) | |
| sortRecords (Order $order, array $records) | |
| limitRecords (Range $range, array $records) | |
| acquireParameters (URLBuilder $url_builder) | |
| getTableActions () | |
Private Member Functions | |
| getColumns () | |
Definition at line 46 of file ScheduleTable.php.
| ILIAS\BookingManager\Schedule\Table\ScheduleTable::__construct | ( | private readonly ilCtrlInterface | $ctrl, |
| private readonly ilLanguage | $lng, | ||
| private readonly ilGlobalTemplateInterface | $tpl, | ||
| private readonly UIFactory | $ui_factory, | ||
| private readonly UIRenderer | $ui_renderer, | ||
| private readonly Refinery | $refinery, | ||
| private readonly AccessManager | $access, | ||
| private readonly HttpService | $http, | ||
| private readonly ScheduleManager | $schedule_manager, | ||
| private readonly int | $ref_id | ||
| ) |
Definition at line 58 of file ScheduleTable.php.
|
protected |
Definition at line 184 of file ScheduleTable.php.
References ILIAS\UI\URLBuilder\acquireParameters().
Referenced by ILIAS\BookingManager\Schedule\Table\ScheduleTable\getComponents().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 161 of file ScheduleTable.php.
References ilUtil\getImagePath(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\BookingManager\Schedule\Table\ScheduleTable::getComponents | ( | URLBuilder | $url_builder | ) |
Implements ILIAS\BookingManager\Common\Table\Table.
Definition at line 80 of file ScheduleTable.php.
References ILIAS\BookingManager\Schedule\Table\ScheduleTable\acquireParameters(), ILIAS\BookingManager\Schedule\Table\ScheduleTable\getTableActions(), ILIAS\BookingManager\Schedule\Table\ScheduleTable\getTableId(), ILIAS\FileDelivery\http(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\BookingManager\Schedule\Table\ScheduleTable::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.
yield $row_builder->buildStandardRow($row_id, $record).
| string[] | $visible_column_ids |
Implements ILIAS\UI\Component\Table\DataRetrieval.
Definition at line 98 of file ScheduleTable.php.
References ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow(), and ILIAS\BookingManager\Common\Table\getTableActions().
Here is the call graph for this function:
|
protected |
Definition at line 194 of file ScheduleTable.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Referenced by ILIAS\BookingManager\Schedule\Table\ScheduleTable\getComponents().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\BookingManager\Schedule\Table\ScheduleTable::getTableId | ( | ) |
Implements ILIAS\BookingManager\Common\Table\Table.
Definition at line 72 of file ScheduleTable.php.
References ILIAS\BookingManager\Schedule\Table\ScheduleTable\ID.
Referenced by ILIAS\BookingManager\Schedule\Table\ScheduleTable\getComponents().
Here is the caller graph for this function:| ILIAS\BookingManager\Schedule\Table\ScheduleTable::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 90 of file ScheduleTable.php.
|
protected |
Definition at line 153 of file ScheduleTable.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 123 of file ScheduleTable.php.
|
protected |
Definition at line 128 of file ScheduleTable.php.
References Vendor\Package\$a, Vendor\Package\$b, and ILIAS\Data\Order\get().
Here is the call graph for this function:| const ILIAS\BookingManager\Schedule\Table\ScheduleTable::ACTION_PARAMETER = 'action' |
Definition at line 54 of file ScheduleTable.php.
| const ILIAS\BookingManager\Schedule\Table\ScheduleTable::ACTION_TYPE_PARAMETER = 'action_type' |
Definition at line 56 of file ScheduleTable.php.
| const ILIAS\BookingManager\Schedule\Table\ScheduleTable::ID = 'bksd' |
Definition at line 50 of file ScheduleTable.php.
Referenced by ILIAS\BookingManager\Schedule\Table\ScheduleTable\getTableId().
| const ILIAS\BookingManager\Schedule\Table\ScheduleTable::ROW_ID_PARAMETER = 'schedule_id' |
Definition at line 52 of file ScheduleTable.php.