ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (?object $a_parent_obj, ?string $a_parent_cmd) | |
enableAcceptProviderAsGlobal () | |
enableResetProviderToUserScope () | |
enableSelectProviderForm () | |
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... | |
setData (array $data) | |
getHTML (bool $hasWriteAccess=false) | |
getFilter () | |
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... | |
Data Fields | |
object | $parent_obj |
string | $parent_cmd |
Protected Member Functions | |
getHasOutcomeFormatted (bool $hasOutcome) | |
getIsInternalFormatted (bool $isInternal) | |
getIsWithKeyFormatted (bool $isWithKey) | |
getCategoryTranslation (string $category) | |
getAvailabilityLabel (array $data) | |
getOwnProviderLabel (array $data) | |
getProviderCreatorLabel (array $data) | |
Protected Attributes | |
ilLanguage | $lng |
Factory | $ui_factory |
ILIAS UI Renderer | $ui_renderer |
ilUIService | $ui_service |
ILIAS Data Factory | $data_factory |
ilCtrlInterface | $ctrl |
WrapperFactory | $wrapper |
ILIAS Refinery Factory | $refinery |
Private Member Functions | |
getColumns () | |
getActions () | |
Private Attributes | |
ServerRequestInterface RequestInterface | $request |
array | $records |
bool | $acceptProviderAsGlobal = false |
bool | $resetProviderToUserScope = false |
bool | $selectProviderForm = false |
Definition at line 42 of file class.ilLTIConsumerProviderTableGUI.php.
ilLTIConsumerProviderTableGUI::__construct | ( | ?object | $a_parent_obj, |
?string | $a_parent_cmd | ||
) |
Definition at line 60 of file class.ilLTIConsumerProviderTableGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
ilLTIConsumerProviderTableGUI::enableAcceptProviderAsGlobal | ( | ) |
Definition at line 78 of file class.ilLTIConsumerProviderTableGUI.php.
ilLTIConsumerProviderTableGUI::enableResetProviderToUserScope | ( | ) |
Definition at line 83 of file class.ilLTIConsumerProviderTableGUI.php.
ilLTIConsumerProviderTableGUI::enableSelectProviderForm | ( | ) |
Definition at line 88 of file class.ilLTIConsumerProviderTableGUI.php.
|
private |
ilCtrlException |
Definition at line 175 of file class.ilLTIConsumerProviderTableGUI.php.
References $id, ilLTIConsumerAdministrationGUI\CMD_ACCEPT_PROVIDER_AS_GLOBAL, ilLTIConsumerAdministrationGUI\CMD_ACCEPT_PROVIDER_AS_GLOBAL_MULTI, ilLTIConsumerAdministrationGUI\CMD_DELETE_GLOBAL_PROVIDER, ilLTIConsumerAdministrationGUI\CMD_DELETE_GLOBAL_PROVIDER_MULTI, ilLTIConsumerAdministrationGUI\CMD_DELETE_USER_PROVIDER, ilLTIConsumerAdministrationGUI\CMD_DELETE_USER_PROVIDER_MULTI, ilLTIConsumerAdministrationGUI\CMD_RESET_PROVIDER_TO_USER_SCOPE, ilLTIConsumerAdministrationGUI\CMD_RESET_PROVIDER_TO_USER_SCOPE_MULTI, ilLTIConsumerAdministrationGUI\CMD_SHOW_USER_PROVIDER_FORM, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by getHTML().
|
protected |
Definition at line 307 of file class.ilLTIConsumerProviderTableGUI.php.
References $data, $DIC, ilLTIConsumeProvider\AVAILABILITY_CREATE, ilLTIConsumeProvider\AVAILABILITY_EXISTING, and ilLTIConsumeProvider\AVAILABILITY_NONE.
Referenced by getRows().
|
protected |
Definition at line 301 of file class.ilLTIConsumerProviderTableGUI.php.
References ilLTIConsumeProvider\getCategoriesSelectOptions().
Referenced by getRows().
|
private |
Definition at line 153 of file class.ilLTIConsumerProviderTableGUI.php.
References ILIAS\Repository\lng().
ilLTIConsumerProviderTableGUI::getFilter | ( | ) |
ilCtrlException |
Definition at line 355 of file class.ilLTIConsumerProviderTableGUI.php.
References ILIAS\Repository\ctrl(), ilLTIConsumeProvider\getCategoriesSelectOptions(), and ILIAS\Repository\lng().
|
protected |
ilLTIConsumerProviderTableGUI::getHTML | ( | bool | $hasWriteAccess = false | ) |
ilCtrlException |
Definition at line 139 of file class.ilLTIConsumerProviderTableGUI.php.
References getActions(), and ILIAS\Repository\lng().
|
protected |
|
protected |
|
protected |
Definition at line 319 of file class.ilLTIConsumerProviderTableGUI.php.
Referenced by getRows().
|
protected |
ilObjectNotFoundException | |
ilDatabaseException |
Definition at line 334 of file class.ilLTIConsumerProviderTableGUI.php.
References $data, $DIC, and ilObjectFactory\getInstanceByObjId().
Referenced by getRows().
ilLTIConsumerProviderTableGUI::getRows | ( | DataRowBuilder | $row_builder, |
array | $visible_column_ids, | ||
Range | $range, | ||
Order | $order, | ||
?array | $filter_data, | ||
?array | $additional_parameters | ||
) |
Implements ILIAS\UI\Component\Table\DataRetrieval.
Definition at line 98 of file class.ilLTIConsumerProviderTableGUI.php.
References ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow(), ilLTIConsumerAdministrationGUI\CMD_SHOW_GLOBAL_PROVIDER_FORM, ILIAS\Repository\ctrl(), getAvailabilityLabel(), getCategoryTranslation(), getHasOutcomeFormatted(), getIsInternalFormatted(), getIsWithKeyFormatted(), getOwnProviderLabel(), and getProviderCreatorLabel().
ilLTIConsumerProviderTableGUI::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 126 of file class.ilLTIConsumerProviderTableGUI.php.
ilLTIConsumerProviderTableGUI::setData | ( | array | $data | ) |
Definition at line 131 of file class.ilLTIConsumerProviderTableGUI.php.
References $data.
|
private |
Definition at line 56 of file class.ilLTIConsumerProviderTableGUI.php.
|
protected |
Definition at line 50 of file class.ilLTIConsumerProviderTableGUI.php.
Definition at line 49 of file class.ilLTIConsumerProviderTableGUI.php.
|
protected |
Definition at line 44 of file class.ilLTIConsumerProviderTableGUI.php.
string ilLTIConsumerProviderTableGUI::$parent_cmd |
Definition at line 55 of file class.ilLTIConsumerProviderTableGUI.php.
object ilLTIConsumerProviderTableGUI::$parent_obj |
Definition at line 54 of file class.ilLTIConsumerProviderTableGUI.php.
|
private |
Definition at line 53 of file class.ilLTIConsumerProviderTableGUI.php.
Definition at line 52 of file class.ilLTIConsumerProviderTableGUI.php.
|
private |
Definition at line 48 of file class.ilLTIConsumerProviderTableGUI.php.
|
private |
Definition at line 57 of file class.ilLTIConsumerProviderTableGUI.php.
|
private |
Definition at line 58 of file class.ilLTIConsumerProviderTableGUI.php.
|
protected |
Definition at line 45 of file class.ilLTIConsumerProviderTableGUI.php.
|
protected |
Definition at line 46 of file class.ilLTIConsumerProviderTableGUI.php.
|
protected |
Definition at line 47 of file class.ilLTIConsumerProviderTableGUI.php.
|
protected |
Definition at line 51 of file class.ilLTIConsumerProviderTableGUI.php.