ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (BookingDataProvider $provider) | |
getRows (DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, ?array $filter_data, ?array $additional_parameters) | |
This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g. More... | |
getTotalRowCount (?array $filter_data, ?array $additional_parameters) | |
Mainly for the purpose of pagination-support, it is important to know about the total number of records available. More... | |
get () | |
render () | |
Data Fields | |
const | ACTION_TOKEN = 'action' |
const | ID_TOKEN = 'id' |
const | TABLE_NS = 'ch_booking_table' |
const | ACTION_TOKEN_NS = self::TABLE_NS . '_' . self::ACTION_TOKEN |
const | ID_TOKEN_NS = self::TABLE_NS . '_' . self::ID_TOKEN |
Protected Member Functions | |
getActions () | |
getColumns () | |
Protected Attributes | |
BookingDataProvider | $provider |
readonly ilLanguage | $lng |
readonly ilObjUser | $user |
readonly ilCtrl | $ctrl |
readonly UIFactory | $ui_factory |
readonly DataFactory | $data_factory |
readonly ServerRequestInterface | $http_request |
Renderer | $ui_renderer |
Definition at line 39 of file BookingTableGUI.php.
ILIAS\Calendar\ConsultationHours\BookingTableGUI::__construct | ( | BookingDataProvider | $provider | ) |
Definition at line 61 of file BookingTableGUI.php.
References $DIC, ILIAS\Calendar\ConsultationHours\BookingTableGUI\$provider, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
ILIAS\Calendar\ConsultationHours\BookingTableGUI::get | ( | ) |
Definition at line 104 of file BookingTableGUI.php.
References ILIAS\Calendar\ConsultationHours\BookingTableGUI\getActions(), ILIAS\Calendar\ConsultationHours\BookingTableGUI\getColumns(), and ILIAS\Repository\lng().
|
protected |
Definition at line 122 of file BookingTableGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by ILIAS\Calendar\ConsultationHours\BookingTableGUI\get().
|
protected |
Definition at line 179 of file BookingTableGUI.php.
References ILIAS\Repository\lng(), ilCalendarSettings\TIME_FORMAT_12, and ILIAS\Repository\user().
Referenced by ILIAS\Calendar\ConsultationHours\BookingTableGUI\get().
ILIAS\Calendar\ConsultationHours\BookingTableGUI::getRows | ( | DataRowBuilder | $row_builder, |
array | $visible_column_ids, | ||
Range | $range, | ||
Order | $order, | ||
?array | $filter_data, | ||
?array | $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 77 of file BookingTableGUI.php.
References $id, and ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow().
ILIAS\Calendar\ConsultationHours\BookingTableGUI::getTotalRowCount | ( | ?array | $filter_data, |
?array | $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 99 of file BookingTableGUI.php.
ILIAS\Calendar\ConsultationHours\BookingTableGUI::render | ( | ) |
Definition at line 219 of file BookingTableGUI.php.
|
protected |
Definition at line 54 of file BookingTableGUI.php.
|
protected |
Definition at line 56 of file BookingTableGUI.php.
|
protected |
Definition at line 57 of file BookingTableGUI.php.
|
protected |
Definition at line 52 of file BookingTableGUI.php.
|
protected |
Definition at line 50 of file BookingTableGUI.php.
Referenced by ILIAS\Calendar\ConsultationHours\BookingTableGUI\__construct().
|
protected |
Definition at line 55 of file BookingTableGUI.php.
|
protected |
Definition at line 58 of file BookingTableGUI.php.
|
protected |
Definition at line 53 of file BookingTableGUI.php.
const ILIAS\Calendar\ConsultationHours\BookingTableGUI::ACTION_TOKEN = 'action' |
Definition at line 41 of file BookingTableGUI.php.
const ILIAS\Calendar\ConsultationHours\BookingTableGUI::ACTION_TOKEN_NS = self::TABLE_NS . '_' . self::ACTION_TOKEN |
Definition at line 45 of file BookingTableGUI.php.
const ILIAS\Calendar\ConsultationHours\BookingTableGUI::ID_TOKEN = 'id' |
Definition at line 42 of file BookingTableGUI.php.
const ILIAS\Calendar\ConsultationHours\BookingTableGUI::ID_TOKEN_NS = self::TABLE_NS . '_' . self::ID_TOKEN |
Definition at line 47 of file BookingTableGUI.php.
const ILIAS\Calendar\ConsultationHours\BookingTableGUI::TABLE_NS = 'ch_booking_table' |
Definition at line 43 of file BookingTableGUI.php.