ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
|
Public Member Functions | |
__construct (private readonly ilBiblAdminLibraryFacadeInterface $facade) | |
getRenderedTable () | |
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... | |
Private Member Functions | |
buildTable () | |
getColumns () | |
getRecords (?Range $range=null, ?Order $order=null) | |
Private Attributes | |
ilAccessHandler | $access |
ilCtrlInterface | $ctrl |
DataFactory | $data_factory |
HttpRequest | $http_request |
ilLanguage | $lng |
UIFactory | $ui_factory |
UIRenderer | $ui_renderer |
DataTable | $table |
Definition at line 31 of file class.ilBiblLibraryTableGUI.php.
ilBiblLibraryTableGUI::__construct | ( | private readonly ilBiblAdminLibraryFacadeInterface | $facade | ) |
Definition at line 43 of file class.ilBiblLibraryTableGUI.php.
References $DIC, ILIAS\Repository\access(), buildTable(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
private |
Definition at line 65 of file class.ilBiblLibraryTableGUI.php.
References getColumns(), ILIAS\Repository\lng(), ILIAS\UI\Implementation\Component\Table\withOrder(), and ILIAS\UI\Implementation\Component\Table\withRange().
Referenced by __construct().
|
private |
Definition at line 81 of file class.ilBiblLibraryTableGUI.php.
References $namespace, ILIAS\Repository\access(), ilBiblLibraryGUI\CMD_DELETE, ilBiblLibraryGUI\CMD_EDIT, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by buildTable().
Definition at line 175 of file class.ilBiblLibraryTableGUI.php.
References Vendor\Package\$a, Vendor\Package\$b, ILIAS\UI\Implementation\Component\Table\$range, ILIAS\Data\Range\getLength(), ILIAS\Data\Range\getStart(), and null.
Referenced by getRows(), and getTotalRowCount().
ilBiblLibraryTableGUI::getRenderedTable | ( | ) |
Definition at line 59 of file class.ilBiblLibraryTableGUI.php.
ilBiblLibraryTableGUI::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 153 of file class.ilBiblLibraryTableGUI.php.
References ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow(), and getRecords().
ilBiblLibraryTableGUI::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 169 of file class.ilBiblLibraryTableGUI.php.
References getRecords().
|
private |
Definition at line 33 of file class.ilBiblLibraryTableGUI.php.
|
private |
Definition at line 34 of file class.ilBiblLibraryTableGUI.php.
|
private |
Definition at line 35 of file class.ilBiblLibraryTableGUI.php.
|
private |
Definition at line 36 of file class.ilBiblLibraryTableGUI.php.
|
private |
Definition at line 37 of file class.ilBiblLibraryTableGUI.php.
|
private |
Definition at line 41 of file class.ilBiblLibraryTableGUI.php.
|
private |
Definition at line 38 of file class.ilBiblLibraryTableGUI.php.
|
private |
Definition at line 39 of file class.ilBiblLibraryTableGUI.php.