ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
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, ?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... | |
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... | |
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 | 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 63 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().
ILIAS\User\Profile\Fields\ConfigurationGUI::actionCmd | ( | ) |
Definition at line 136 of file class.ConfigurationGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Filesystem\Stream\Streams\ofString().
|
private |
Definition at line 424 of file class.ConfigurationGUI.php.
References ILIAS\Repository\lng().
|
private |
Definition at line 498 of file class.ConfigurationGUI.php.
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\saveAfterListenerConfirmationCmd().
|
private |
Definition at line 464 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().
|
private |
Definition at line 526 of file class.ConfigurationGUI.php.
|
private |
Definition at line 439 of file class.ConfigurationGUI.php.
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\saveCmd().
|
private |
Definition at line 562 of file class.ConfigurationGUI.php.
|
private |
Definition at line 279 of file class.ConfigurationGUI.php.
References ILIAS\Repository\lng().
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\showCmd().
ILIAS\User\Profile\Fields\ConfigurationGUI::createCmd | ( | ) |
Definition at line 180 of file class.ConfigurationGUI.php.
References $data, ILIAS\User\Profile\Fields\ConfigurationGUI\buildCreateModal(), 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().
ILIAS\User\Profile\Fields\ConfigurationGUI::deleteCmd | ( | ) |
Definition at line 231 of file class.ConfigurationGUI.php.
References ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\UI\examples\Deck\repository(), and ILIAS\User\Profile\Fields\ConfigurationGUI\showCmd().
ILIAS\User\Profile\Fields\ConfigurationGUI::executeCommand | ( | ) |
Definition at line 101 of file class.ConfigurationGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
private |
Definition at line 333 of file class.ConfigurationGUI.php.
References ILIAS\Repository\lng().
|
private |
Definition at line 290 of file class.ConfigurationGUI.php.
References ILIAS\Repository\lng().
|
private |
Definition at line 582 of file class.ConfigurationGUI.php.
References $c.
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\createCmd(), and ILIAS\User\Profile\Fields\ConfigurationGUI\saveCmd().
|
private |
array<PropertyAttributes> | $attribute |
Definition at line 611 of file class.ConfigurationGUI.php.
References $c.
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\saveAfterListenerConfirmationCmd().
ILIAS\User\Profile\Fields\ConfigurationGUI::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.
yield $row_builder->buildStandardRow($row_id, $record).
string[] | $visible_column_ids |
Implements ILIAS\UI\Component\Table\DataRetrieval.
Definition at line 253 of file class.ConfigurationGUI.php.
References ILIAS\Repository\lng().
ILIAS\User\Profile\Fields\ConfigurationGUI::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 272 of file class.ConfigurationGUI.php.
|
private |
Definition at line 355 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().
|
private |
Definition at line 650 of file class.ConfigurationGUI.php.
References Vendor\Package\$a, $c, and ILIAS\Repository\refinery().
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\saveAfterListenerConfirmationCmd().
|
private |
Definition at line 544 of file class.ConfigurationGUI.php.
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\saveAfterListenerConfirmationCmd(), and ILIAS\User\Profile\Fields\ConfigurationGUI\saveCmd().
ILIAS\User\Profile\Fields\ConfigurationGUI::saveAfterListenerConfirmationCmd | ( | ) |
Definition at line 203 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().
ILIAS\User\Profile\Fields\ConfigurationGUI::saveCmd | ( | ) |
Definition at line 155 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().
|
private |
Definition at line 635 of file class.ConfigurationGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\User\Profile\ChangeListeners\UserFieldAttributesChangeListener\isInterestedInAttribute().
|
private |
Definition at line 486 of file class.ConfigurationGUI.php.
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\createCmd(), and ILIAS\User\Profile\Fields\ConfigurationGUI\saveCmd().
ILIAS\User\Profile\Fields\ConfigurationGUI::showCmd | ( | ?RoundTripModal | $modal = null | ) |
Definition at line 108 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().
|
private |
Definition at line 674 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().
|
private |
Definition at line 58 of file class.ConfigurationGUI.php.
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\__construct().
|
private |
Definition at line 61 of file class.ConfigurationGUI.php.
|
private |
Definition at line 59 of file class.ConfigurationGUI.php.
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\__construct().
|
private |
Definition at line 57 of file class.ConfigurationGUI.php.
Referenced by ILIAS\User\Profile\Fields\ConfigurationGUI\__construct().
|
private |
Definition at line 55 of file class.ConfigurationGUI.php.
|
private |
Definition at line 54 of file class.ConfigurationGUI.php.
|
private |
Definition at line 52 of file class.ConfigurationGUI.php.