ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
TableGUI class for LTI consumer listing. More...
Public Member Functions | |
__construct () | |
getColumns () | |
getRows (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... | |
getHtml () | |
isEditable () | |
setEditable (bool $a_editable) | |
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 Attributes | |
ilLanguage | $lng |
Factory | $ui_factory |
ILIAS UI Renderer | $ui_renderer |
ILIAS Data Factory | $data_factory |
ilCtrlInterface | $ctrl |
WrapperFactory | $wrapper |
ILIAS Refinery Factory | $refinery |
Private Member Functions | |
getRecords () | |
getActions () | |
Private Attributes | |
ServerRequestInterface RequestInterface | $request |
array | $records |
bool | $editable = false |
TableGUI class for LTI consumer listing.
Definition at line 40 of file class.ilObjectConsumerTableGUI.php.
ilObjectConsumerTableGUI::__construct | ( | ) |
Definition at line 53 of file class.ilObjectConsumerTableGUI.php.
References $DIC, ILIAS\Repository\ctrl(), getRecords(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
|
private |
ilCtrlException |
Definition at line 108 of file class.ilObjectConsumerTableGUI.php.
References $id, ILIAS\Repository\ctrl(), isEditable(), and ILIAS\Repository\lng().
Referenced by getHtml().
ilObjectConsumerTableGUI::getColumns | ( | ) |
Definition at line 69 of file class.ilObjectConsumerTableGUI.php.
References ILIAS\Repository\lng().
ilObjectConsumerTableGUI::getHtml | ( | ) |
ilCtrlException |
Definition at line 208 of file class.ilObjectConsumerTableGUI.php.
References getActions(), and ILIAS\Repository\lng().
|
private |
Definition at line 82 of file class.ilObjectConsumerTableGUI.php.
Referenced by __construct().
ilObjectConsumerTableGUI::getRows | ( | DataRowBuilder | $row_builder, |
array | $visible_column_ids, | ||
Range | $range, | ||
Order | $order, | ||
?array | $filter_data, | ||
?array | $additional_parameters | ||
) |
ilObjectNotFoundException | |
ilDatabaseException |
Implements ILIAS\UI\Component\Table\DataRetrieval.
Definition at line 170 of file class.ilObjectConsumerTableGUI.php.
References $GLOBALS, ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow(), ilObjLTIAdministration\getActiveObjectTypes(), ilObjectFactory\getInstanceByObjId(), and ILIAS\Repository\lng().
ilObjectConsumerTableGUI::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 200 of file class.ilObjectConsumerTableGUI.php.
ilObjectConsumerTableGUI::isEditable | ( | ) |
Definition at line 219 of file class.ilObjectConsumerTableGUI.php.
References $editable.
Referenced by getActions().
ilObjectConsumerTableGUI::setEditable | ( | bool | $a_editable | ) |
Definition at line 224 of file class.ilObjectConsumerTableGUI.php.
|
protected |
Definition at line 47 of file class.ilObjectConsumerTableGUI.php.
Definition at line 46 of file class.ilObjectConsumerTableGUI.php.
|
private |
Definition at line 51 of file class.ilObjectConsumerTableGUI.php.
Referenced by isEditable().
|
protected |
Definition at line 42 of file class.ilObjectConsumerTableGUI.php.
|
private |
Definition at line 50 of file class.ilObjectConsumerTableGUI.php.
Definition at line 49 of file class.ilObjectConsumerTableGUI.php.
|
private |
Definition at line 45 of file class.ilObjectConsumerTableGUI.php.
|
protected |
Definition at line 43 of file class.ilObjectConsumerTableGUI.php.
|
protected |
Definition at line 44 of file class.ilObjectConsumerTableGUI.php.
|
protected |
Definition at line 48 of file class.ilObjectConsumerTableGUI.php.