|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ilLTIConsumerProviderTableGUI:
Collaboration diagram for ilLTIConsumerProviderTableGUI: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, mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| 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... | |
| setData (array $data) | |
| getHTML (bool $hasWriteAccess=false) | |
| getFilter () | |
| 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... | |
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().
Here is the call graph for this function:| 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 185 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().
Here is the call graph for this function:
|
protected |
Definition at line 317 of file class.ilLTIConsumerProviderTableGUI.php.
References $data, $DIC, ilLTIConsumeProvider\AVAILABILITY_CREATE, ilLTIConsumeProvider\AVAILABILITY_EXISTING, and ilLTIConsumeProvider\AVAILABILITY_NONE.
Referenced by getRows().
Here is the caller graph for this function:
|
protected |
Definition at line 311 of file class.ilLTIConsumerProviderTableGUI.php.
References ilLTIConsumeProvider\getCategoriesSelectOptions().
Referenced by getRows().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 163 of file class.ilLTIConsumerProviderTableGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ilLTIConsumerProviderTableGUI::getFilter | ( | ) |
| ilCtrlException |
Definition at line 365 of file class.ilLTIConsumerProviderTableGUI.php.
References ILIAS\Repository\ctrl(), ilLTIConsumeProvider\getCategoriesSelectOptions(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
| ilLTIConsumerProviderTableGUI::getHTML | ( | bool | $hasWriteAccess = false | ) |
| ilCtrlException |
Definition at line 149 of file class.ilLTIConsumerProviderTableGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
|
protected |
|
protected |
Definition at line 329 of file class.ilLTIConsumerProviderTableGUI.php.
Referenced by getRows().
Here is the caller graph for this function:
|
protected |
| ilObjectNotFoundException | |
| ilDatabaseException |
Definition at line 344 of file class.ilLTIConsumerProviderTableGUI.php.
References $data, $DIC, and ilObjectFactory\getInstanceByObjId().
Referenced by getRows().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLTIConsumerProviderTableGUI::getRows | ( | DataRowBuilder | $row_builder, |
| array | $visible_column_ids, | ||
| Range | $range, | ||
| Order | $order, | ||
| mixed | $additional_viewcontrol_data, | ||
| mixed | $filter_data, | ||
| mixed | $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().
Here is the call graph for this function:| ilLTIConsumerProviderTableGUI::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 133 of file class.ilLTIConsumerProviderTableGUI.php.
| ilLTIConsumerProviderTableGUI::setData | ( | array | $data | ) |
Definition at line 141 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.