ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
Table class for. More...
Public Member Functions | |
__construct (ilObjLanguageFolder $a_folder, URLBuilder $url_builder, URLBuilderToken $action_token, URLBuilderToken $row_id_token) | |
getTable () | |
getItems (?Range $range=null, ?Order $order=null) | |
Get language data. More... | |
getRows (\ILIAS\UI\Component\Table\DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, ?array $filter_data, ?array $additional_parameters) | |
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... | |
![]() | |
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... | |
Protected Member Functions | |
getColums () | |
getActions () | |
buildAction (string $act, string $type, bool $async=false) | |
getURIWithTargetClass (string $target_gui, string $command) | |
Protected Attributes | |
URLBuilder | $url_builder |
URLBuilderToken | $action_token |
URLBuilderToken | $row_id_token |
ILIAS UI Factory | $ui_factory |
ilLanguage | $lng |
ilObjLanguageFolder | $folder |
ilCtrlInterface | $ctrl |
ilSetting | $ilSetting |
ilAccessHandler | $access |
ilLanguageFolderTable::__construct | ( | ilObjLanguageFolder | $a_folder, |
URLBuilder | $url_builder, | ||
URLBuilderToken | $action_token, | ||
URLBuilderToken | $row_id_token | ||
) |
Definition at line 49 of file class.ilLanguageFolderTable.php.
References $action_token, $DIC, $row_id_token, $url_builder, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
protected |
Definition at line 117 of file class.ilLanguageFolderTable.php.
References $row_id_token, and ILIAS\Repository\lng().
Referenced by getActions().
|
protected |
Definition at line 103 of file class.ilLanguageFolderTable.php.
References buildAction().
Referenced by getTable().
|
protected |
Definition at line 80 of file class.ilLanguageFolderTable.php.
References Vendor\Package\$f, $ui_factory, and ILIAS\Repository\lng().
Referenced by getTable().
Get language data.
Definition at line 135 of file class.ilLanguageFolderTable.php.
References $data, ILIAS\UI\Implementation\Component\Table\$range, ILIAS\Data\Range\getLength(), and ILIAS\Data\Range\getStart().
Referenced by getRows().
ilLanguageFolderTable::getRows | ( | \ILIAS\UI\Component\Table\DataRowBuilder | $row_builder, |
array | $visible_column_ids, | ||
Range | $range, | ||
Order | $order, | ||
?array | $filter_data, | ||
?array | $additional_parameters | ||
) |
Definition at line 158 of file class.ilLanguageFolderTable.php.
References ilObjLanguage\_getLastLocalChange(), ILIAS\Repository\access(), ilObjLanguage\countUsers(), ilDatePresentation\formatDate(), getItems(), getURIWithTargetClass(), IL_CAL_DATETIME, and ILIAS\Repository\lng().
ilLanguageFolderTable::getTable | ( | ) |
Definition at line 67 of file class.ilLanguageFolderTable.php.
References ILIAS\Repository\access(), getActions(), and getColums().
ilLanguageFolderTable::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 219 of file class.ilLanguageFolderTable.php.
|
protected |
Definition at line 209 of file class.ilLanguageFolderTable.php.
References ILIAS\Repository\ctrl().
Referenced by getRows().
|
protected |
Definition at line 47 of file class.ilLanguageFolderTable.php.
|
protected |
Definition at line 40 of file class.ilLanguageFolderTable.php.
Referenced by __construct().
|
protected |
Definition at line 45 of file class.ilLanguageFolderTable.php.
|
protected |
Definition at line 44 of file class.ilLanguageFolderTable.php.
|
protected |
Definition at line 46 of file class.ilLanguageFolderTable.php.
|
protected |
Definition at line 43 of file class.ilLanguageFolderTable.php.
|
protected |
Definition at line 41 of file class.ilLanguageFolderTable.php.
Referenced by __construct(), and buildAction().
|
protected |
Definition at line 42 of file class.ilLanguageFolderTable.php.
Referenced by getColums().
|
protected |
Definition at line 39 of file class.ilLanguageFolderTable.php.
Referenced by __construct().