ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
Public Member Functions | |
__construct (ilDidacticTemplateSettingsTableFilter $filter, ilLanguage $lng, UIFactory $ui_factory, UIRenderer $ui_renderer, StaticURLService $static_url, DataFactory $data_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 | |
getTemplates () | |
getRecords (Order $order, Range $range) | |
Protected Attributes | |
ilDidacticTemplateSettingsTableFilter | $filter |
ilLanguage | $lng |
UIFactory | $ui_factory |
UIRenderer | $ui_renderer |
StaticURLService | $static_url |
DataFactory | $data_factory |
Definition at line 31 of file class.ilDidacticTemplateSettingsTableDataRetrieval.php.
ilDidacticTemplateSettingsTableDataRetrieval::__construct | ( | ilDidacticTemplateSettingsTableFilter | $filter, |
ilLanguage | $lng, | ||
UIFactory | $ui_factory, | ||
UIRenderer | $ui_renderer, | ||
StaticURLService | $static_url, | ||
DataFactory | $data_factory | ||
) |
Definition at line 40 of file class.ilDidacticTemplateSettingsTableDataRetrieval.php.
References $data_factory, $filter, $lng, $static_url, $ui_factory, $ui_renderer, ILIAS\Repository\filter(), and ILIAS\Repository\lng().
Definition at line 91 of file class.ilDidacticTemplateSettingsTableDataRetrieval.php.
References Vendor\Package\$a, Vendor\Package\$b, $ref_id, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilUtil\getImagePath(), ILIAS\Data\Range\getLength(), ILIAS\Data\Range\getStart(), getTemplates(), ILIAS\Data\Order\join(), and ILIAS\Repository\lng().
Referenced by getRows().
ilDidacticTemplateSettingsTableDataRetrieval::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 56 of file class.ilDidacticTemplateSettingsTableDataRetrieval.php.
References ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow(), and getRecords().
|
protected |
Definition at line 84 of file class.ilDidacticTemplateSettingsTableDataRetrieval.php.
References ILIAS\Repository\filter(), and ilDidacticTemplateSettings\getInstance().
Referenced by getRecords(), and getTotalRowCount().
ilDidacticTemplateSettingsTableDataRetrieval::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 74 of file class.ilDidacticTemplateSettingsTableDataRetrieval.php.
References getTemplates().
|
protected |
Definition at line 38 of file class.ilDidacticTemplateSettingsTableDataRetrieval.php.
Referenced by __construct().
|
protected |
Definition at line 33 of file class.ilDidacticTemplateSettingsTableDataRetrieval.php.
Referenced by __construct().
|
protected |
Definition at line 34 of file class.ilDidacticTemplateSettingsTableDataRetrieval.php.
Referenced by __construct().
|
protected |
Definition at line 37 of file class.ilDidacticTemplateSettingsTableDataRetrieval.php.
Referenced by __construct().
|
protected |
Definition at line 35 of file class.ilDidacticTemplateSettingsTableDataRetrieval.php.
Referenced by __construct().
|
protected |
Definition at line 36 of file class.ilDidacticTemplateSettingsTableDataRetrieval.php.
Referenced by __construct().