ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (VocabManager $vocab_manager, Presentation $presentation, UIFactory $ui_factory) | |
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... | |
Protected Member Functions | |
getVocabs (?Range $range=null) | |
Protected Attributes | |
const int | MAX_PREVIEW_VALUES = 5 |
VocabManager | $vocab_manager |
Presentation | $presentation |
UIFactory | $ui_factory |
array | $vocabs |
Definition at line 31 of file DataRetrieval.php.
ILIAS\MetaData\Settings\Vocabularies\DataRetrieval::__construct | ( | VocabManager | $vocab_manager, |
Presentation | $presentation, | ||
UIFactory | $ui_factory | ||
) |
Definition at line 44 of file DataRetrieval.php.
References ILIAS\MetaData\Settings\Vocabularies\DataRetrieval\$presentation, ILIAS\MetaData\Settings\Vocabularies\DataRetrieval\$ui_factory, and ILIAS\MetaData\Settings\Vocabularies\DataRetrieval\$vocab_manager.
ILIAS\MetaData\Settings\Vocabularies\DataRetrieval::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 54 of file DataRetrieval.php.
References $vocab, ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow(), and ILIAS\MetaData\Settings\Vocabularies\DataRetrieval\getVocabs().
ILIAS\MetaData\Settings\Vocabularies\DataRetrieval::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 115 of file DataRetrieval.php.
References ILIAS\MetaData\Settings\Vocabularies\DataRetrieval\getVocabs().
Definition at line 120 of file DataRetrieval.php.
References ILIAS\UI\Implementation\Component\Table\$range, ILIAS\MetaData\Settings\Vocabularies\DataRetrieval\$vocabs, ILIAS\Data\Range\getLength(), and ILIAS\Data\Range\getStart().
Referenced by ILIAS\MetaData\Settings\Vocabularies\DataRetrieval\getRows(), and ILIAS\MetaData\Settings\Vocabularies\DataRetrieval\getTotalRowCount().
|
protected |
Definition at line 36 of file DataRetrieval.php.
Referenced by ILIAS\MetaData\Settings\Vocabularies\DataRetrieval\__construct().
|
protected |
Definition at line 37 of file DataRetrieval.php.
Referenced by ILIAS\MetaData\Settings\Vocabularies\DataRetrieval\__construct().
|
protected |
Definition at line 35 of file DataRetrieval.php.
Referenced by ILIAS\MetaData\Settings\Vocabularies\DataRetrieval\__construct().
|
protected |
Definition at line 42 of file DataRetrieval.php.
Referenced by ILIAS\MetaData\Settings\Vocabularies\DataRetrieval\getVocabs().
|
protected |
Definition at line 33 of file DataRetrieval.php.