|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ilDidacticTemplateSettingsTableDataRetrieval:
Collaboration diagram for ilDidacticTemplateSettingsTableDataRetrieval: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, 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... | |
| 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... | |
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().
Here is the call graph for this function:Definition at line 93 of file class.ilDidacticTemplateSettingsTableDataRetrieval.php.
References Vendor\Package\$a, Vendor\Package\$b, ILIAS\UI\Implementation\Component\Table\$range, $ref_id, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilUtil\getImagePath(), ILIAS\Data\Range\getLength(), ILIAS\Data\Range\getStart(), ILIAS\Data\Order\join(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilDidacticTemplateSettingsTableDataRetrieval::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 56 of file class.ilDidacticTemplateSettingsTableDataRetrieval.php.
References ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow().
Here is the call graph for this function:
|
protected |
Definition at line 86 of file class.ilDidacticTemplateSettingsTableDataRetrieval.php.
References ILIAS\Repository\filter(), and ilDidacticTemplateSettings\getInstance().
Here is the call graph for this function:| ilDidacticTemplateSettingsTableDataRetrieval::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 75 of file class.ilDidacticTemplateSettingsTableDataRetrieval.php.
|
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().