|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\User\Profile\Fields\ConfigurationGUI:
Collaboration diagram for ILIAS\User\Profile\Fields\ConfigurationGUI:Public Member Functions | |
| __construct (private readonly Language $lng, private readonly \ilCtrl $ctrl, private readonly \ilAppEventHandler $event, private readonly \ilAccess $access, private readonly \ilToolbarGUI $toolbar, private readonly \ilGlobalTemplateInterface $tpl, private readonly UIFactory $ui_factory, private readonly UIRenderer $ui_renderer, private readonly Refinery $refinery, private readonly ServerRequestInterface $request, private readonly RequestWrapper $request_wrapper, private readonly RequestWrapper $post_wrapper, private readonly HttpService $http, private readonly array $available_change_listeners, private readonly ConfigurationRepository $repository) | |
| executeCommand () | |
| showCmd (?RoundTripModal $modal=null) | |
| actionCmd () | |
| saveCmd () | |
| createCmd () | |
| saveAfterListenerConfirmationCmd () | |
| deleteCmd () | |
| 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... | |
Private Member Functions | |
| buildTable () | |
| getColumns () | |
| getActions () | |
| orderRows (Order $order) | |
| buildActionModal (?string $action) | |
| buildEditModal (Field $field) | |
| buildCreateModal () | |
| showChangeListenerConfirmationModal (array $listeners_to_notify, Field $new) | |
| buildChangeListenerConfirmationModal (array $listeners_to_notify, Field $field) | |
| buildDeleteConfirmationModal (Field $field) | |
| retrieveIdentifierFromQuery () | |
| buildListingOfListeners (array $listeners_to_notify, string $field_name) | |
| getListenersToNotifyByChangedValues (Field $old_field, Field $new_field) | |
| getListenersToNotifyByInterests (Field $field, array $attributes) | |
| setChangedAttributesParameter (array $listeners_to_notify) | |
| retrieveChangedAttributesFromQuery () | |
| storeField (Field $field) | |
Private Attributes | |
| const string | CHANGED_ATTRIBUTES_PARAMETER = 'ca' |
| const string | DEFAULT_CMD = 'show' |
| const string | CMD_SAVE = 'save' |
| const string | CMD_CREATE = 'create' |
| const string | CMD_SAVE_AFTER_LISTENER_CONFIRMATION = 'saveAfterListenerConfirmation' |
| const string | CMD_DELETE = 'delete' |
| const string | CMD_PERFORM_TABLE_ACTION = 'action' |
| const string | ACTION_EDIT = 'edit' |
| const string | ACTION_DELETE = 'delete' |
| readonly URLBuilder | $url_builder |
| readonly URLBuilderToken | $action_token |
| readonly URLBuilderToken | $field_id_token |
| array | $available_fields |
Definition at line 48 of file class.ConfigurationGUI.php.
| ILIAS\User\Profile\Fields\ConfigurationGUI::__construct | ( | private readonly Language | $lng, |
| private readonly \ilCtrl | $ctrl, | ||
| private readonly \ilAppEventHandler | $event, | ||
| private readonly \ilAccess | $access, | ||
| private readonly \ilToolbarGUI | $toolbar, | ||
| private readonly \ilGlobalTemplateInterface | $tpl, | ||
| private readonly UIFactory | $ui_factory, | ||
| private readonly UIRenderer | $ui_renderer, | ||
| private readonly Refinery | $refinery, | ||
| private readonly ServerRequestInterface | $request, | ||
| private readonly RequestWrapper | $request_wrapper, | ||
| private readonly RequestWrapper | $post_wrapper, | ||
| private readonly HttpService | $http, | ||
| private readonly array | $available_change_listeners, | ||
| private readonly ConfigurationRepository | $repository | ||
| ) |
Definition at line 70 of file class.ConfigurationGUI.php.
References ILIAS\User\Profile\Fields\ConfigurationGUI\$action_token, ILIAS\User\Profile\Fields\ConfigurationGUI\$field_id_token, ILIAS\User\Profile\Fields\ConfigurationGUI\$url_builder, ILIAS\UI\URLBuilder\acquireParameters(), ILIAS\Repository\ctrl(), and ILIAS\UI\examples\Deck\repository().
Here is the call graph for this function:| ILIAS\User\Profile\Fields\ConfigurationGUI::actionCmd | ( | ) |
Definition at line 143 of file class.ConfigurationGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Filesystem\Stream\Streams\ofString().
Here is the call graph for this function:
|
private |
Definition at line 443 of file class.ConfigurationGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 517 of file class.ConfigurationGUI.php.
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\saveAfterListenerConfirmationCmd().
Here is the caller graph for this function:
|
private |
Definition at line 483 of file class.ConfigurationGUI.php.
References ILIAS\User\Profile\Fields\Field\isCustom(), and ILIAS\Repository\lng().
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\createCmd(), and ILIAS\User\Profile\Fields\ConfigurationGUI\showCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 545 of file class.ConfigurationGUI.php.
|
private |
Definition at line 458 of file class.ConfigurationGUI.php.
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\saveCmd().
Here is the caller graph for this function:
|
private |
Definition at line 581 of file class.ConfigurationGUI.php.
|
private |
Definition at line 294 of file class.ConfigurationGUI.php.
References ILIAS\Repository\lng().
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\showCmd().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\User\Profile\Fields\ConfigurationGUI::createCmd | ( | ) |
Definition at line 187 of file class.ConfigurationGUI.php.
References $data, ILIAS\User\Profile\Fields\ConfigurationGUI\buildCreateModal(), ILIAS\Repository\ctrl(), ILIAS\User\Profile\Fields\ConfigurationGUI\getListenersToNotifyByChangedValues(), ILIAS\UI\examples\Deck\repository(), ILIAS\User\Profile\Fields\ConfigurationGUI\showChangeListenerConfirmationModal(), ILIAS\User\Profile\Fields\ConfigurationGUI\showCmd(), and ILIAS\User\Profile\Fields\ConfigurationGUI\storeField().
Here is the call graph for this function:| ILIAS\User\Profile\Fields\ConfigurationGUI::deleteCmd | ( | ) |
Definition at line 241 of file class.ConfigurationGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\UI\examples\Deck\repository(), and ILIAS\User\Profile\Fields\ConfigurationGUI\showCmd().
Here is the call graph for this function:| ILIAS\User\Profile\Fields\ConfigurationGUI::executeCommand | ( | ) |
Definition at line 108 of file class.ConfigurationGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 352 of file class.ConfigurationGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 305 of file class.ConfigurationGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 601 of file class.ConfigurationGUI.php.
References $c.
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\createCmd(), and ILIAS\User\Profile\Fields\ConfigurationGUI\saveCmd().
Here is the caller graph for this function:
|
private |
| array<PropertyAttributes> | $attribute |
Definition at line 630 of file class.ConfigurationGUI.php.
References $c.
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\saveAfterListenerConfirmationCmd().
Here is the caller graph for this function:| ILIAS\User\Profile\Fields\ConfigurationGUI::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 266 of file class.ConfigurationGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\User\Profile\Fields\ConfigurationGUI::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 286 of file class.ConfigurationGUI.php.
|
private |
Definition at line 374 of file class.ConfigurationGUI.php.
References ILIAS\User\Profile\Fields\Field\export(), ILIAS\Data\Order\get(), ILIAS\User\Profile\Fields\Field\getLabel(), ILIAS\User\Profile\Fields\Field\getSection(), ILIAS\User\Profile\Fields\Field\isAvailableInCertificates(), ILIAS\User\Profile\Fields\Field\isCustom(), ILIAS\User\Profile\Fields\Field\isRequired(), ILIAS\User\Profile\Fields\Field\isSearchable(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 669 of file class.ConfigurationGUI.php.
References Vendor\Package\$a, $c, and ILIAS\Repository\refinery().
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\saveAfterListenerConfirmationCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 563 of file class.ConfigurationGUI.php.
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\saveAfterListenerConfirmationCmd(), and ILIAS\User\Profile\Fields\ConfigurationGUI\saveCmd().
Here is the caller graph for this function:| ILIAS\User\Profile\Fields\ConfigurationGUI::saveAfterListenerConfirmationCmd | ( | ) |
Definition at line 213 of file class.ConfigurationGUI.php.
References $data, ILIAS\User\Profile\Fields\ConfigurationGUI\buildChangeListenerConfirmationModal(), ILIAS\User\Profile\Fields\ConfigurationGUI\getListenersToNotifyByInterests(), ILIAS\UI\examples\Deck\repository(), ILIAS\User\Profile\Fields\ConfigurationGUI\retrieveChangedAttributesFromQuery(), ILIAS\User\Profile\Fields\ConfigurationGUI\retrieveIdentifierFromQuery(), ILIAS\User\Profile\Fields\ConfigurationGUI\showCmd(), and ILIAS\User\Profile\Fields\ConfigurationGUI\storeField().
Here is the call graph for this function:| ILIAS\User\Profile\Fields\ConfigurationGUI::saveCmd | ( | ) |
Definition at line 162 of file class.ConfigurationGUI.php.
References $data, ILIAS\User\Profile\Fields\ConfigurationGUI\buildEditModal(), ILIAS\Repository\ctrl(), ILIAS\User\Profile\Fields\ConfigurationGUI\getListenersToNotifyByChangedValues(), ILIAS\UI\examples\Deck\repository(), ILIAS\User\Profile\Fields\ConfigurationGUI\retrieveIdentifierFromQuery(), ILIAS\User\Profile\Fields\ConfigurationGUI\showChangeListenerConfirmationModal(), ILIAS\User\Profile\Fields\ConfigurationGUI\showCmd(), and ILIAS\User\Profile\Fields\ConfigurationGUI\storeField().
Here is the call graph for this function:
|
private |
Definition at line 654 of file class.ConfigurationGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\User\Profile\ChangeListeners\UserFieldAttributesChangeListener\isInterestedInAttribute().
Here is the call graph for this function:
|
private |
Definition at line 505 of file class.ConfigurationGUI.php.
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\createCmd(), and ILIAS\User\Profile\Fields\ConfigurationGUI\saveCmd().
Here is the caller graph for this function:| ILIAS\User\Profile\Fields\ConfigurationGUI::showCmd | ( | ?RoundTripModal | $modal = null | ) |
Definition at line 115 of file class.ConfigurationGUI.php.
References ILIAS\User\Profile\Fields\ConfigurationGUI\buildCreateModal(), ILIAS\User\Profile\Fields\ConfigurationGUI\buildTable(), ILIAS\Repository\lng(), ILIAS\UI\examples\Deck\repository(), and ILIAS\Repository\toolbar().
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\createCmd(), ILIAS\User\Profile\Fields\ConfigurationGUI\deleteCmd(), ILIAS\User\Profile\Fields\ConfigurationGUI\saveAfterListenerConfirmationCmd(), and ILIAS\User\Profile\Fields\ConfigurationGUI\saveCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 693 of file class.ConfigurationGUI.php.
References ilMemberAgreement\_reset(), ILIAS\Repository\lng(), and ILIAS\UI\examples\Deck\repository().
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\createCmd(), ILIAS\User\Profile\Fields\ConfigurationGUI\saveAfterListenerConfirmationCmd(), and ILIAS\User\Profile\Fields\ConfigurationGUI\saveCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 65 of file class.ConfigurationGUI.php.
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\__construct().
|
private |
Definition at line 68 of file class.ConfigurationGUI.php.
|
private |
Definition at line 66 of file class.ConfigurationGUI.php.
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\__construct().
|
private |
Definition at line 64 of file class.ConfigurationGUI.php.
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\__construct().
|
private |
Definition at line 62 of file class.ConfigurationGUI.php.
|
private |
Definition at line 61 of file class.ConfigurationGUI.php.
|
private |
Definition at line 52 of file class.ConfigurationGUI.php.
|
private |
Definition at line 56 of file class.ConfigurationGUI.php.
|
private |
Definition at line 58 of file class.ConfigurationGUI.php.
|
private |
Definition at line 59 of file class.ConfigurationGUI.php.
|
private |
Definition at line 55 of file class.ConfigurationGUI.php.
|
private |
Definition at line 57 of file class.ConfigurationGUI.php.
|
private |
Definition at line 54 of file class.ConfigurationGUI.php.