|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\ILIASObject\Properties\Translations\TranslationsTable:
Collaboration diagram for ILIAS\ILIASObject\Properties\Translations\TranslationsTable:Public Member Functions | |
| __construct (private readonly UIFactory $ui_factory, private readonly UIRenderer $ui_renderer, private readonly SystemLanguage $lng, private readonly Refinery $refinery, private readonly \ilGlobalTemplateInterface $tpl, private readonly HTTPService $http, private readonly \ilCtrl $ctrl, private Translations $translations, private readonly ObjectProperties $object_properties, URI $here_uri) | |
| runAction () | |
| getTable () | |
| 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... | |
Data Fields | |
| const | ACTION_EDIT = 'e' |
| const | ACTION_MAKE_DEFAULT = 'md' |
| const | ACTION_DELETE = 'd' |
Private Member Functions | |
| getColumns () | |
| getActions () | |
| editTranslation () | |
| makeDefault () | |
| deleteTranslations () | |
| buildEditLanguageModal (string $language_code) | |
| buildConfirmationModal (array $languages_to_delete) | |
| retrieveAffectedItemsFromQueryForDeletion () | |
| retrieveAffectedItemsFromQuery () | |
| sendAsync (UIComponent $response) | |
Private Attributes | |
| const | QUERY_PARAMETER_NAME_SPACE = ['obj', 'trans'] |
| const | TOKEN_STRING_ACTION = 'a' |
| const | TOKEN_STRING_ROW_ID = 't' |
| const | TOKEN_STRING_ACTON_AFFECTED_ITEMS = 'ai' |
| URLBuilder | $url_builder |
| URLBuilderToken | $token_action |
| URLBuilderToken | $token_action_affected_items |
| URLBuilderToken | $token_row_id |
| RoundtripModal | $modal_with_error = null |
Definition at line 42 of file TranslationsTable.php.
| ILIAS\ILIASObject\Properties\Translations\TranslationsTable::__construct | ( | private readonly UIFactory | $ui_factory, |
| private readonly UIRenderer | $ui_renderer, | ||
| private readonly SystemLanguage | $lng, | ||
| private readonly Refinery | $refinery, | ||
| private readonly \ilGlobalTemplateInterface | $tpl, | ||
| private readonly HTTPService | $http, | ||
| private readonly \ilCtrl | $ctrl, | ||
| private Translations | $translations, | ||
| private readonly ObjectProperties | $object_properties, | ||
| URI | $here_uri | ||
| ) |
| array<ILIAS |
ILIASObject\Properties\Translations\Language> $languages
Definition at line 63 of file TranslationsTable.php.
References ILIAS\ILIASObject\Properties\Translations\TranslationsTable\$token_action, ILIAS\ILIASObject\Properties\Translations\TranslationsTable\$token_action_affected_items, ILIAS\ILIASObject\Properties\Translations\TranslationsTable\$token_row_id, and ILIAS\ILIASObject\Properties\Translations\TranslationsTable\$url_builder.
|
private |
Definition at line 308 of file TranslationsTable.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 289 of file TranslationsTable.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 255 of file TranslationsTable.php.
References $c, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\lng().
Referenced by ILIAS\ILIASObject\Properties\Translations\TranslationsTable\runAction().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 208 of file TranslationsTable.php.
References $data, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\lng().
Referenced by ILIAS\ILIASObject\Properties\Translations\TranslationsTable\runAction().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 175 of file TranslationsTable.php.
References ILIAS\Repository\lng().
Referenced by ILIAS\ILIASObject\Properties\Translations\TranslationsTable\getTable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 149 of file TranslationsTable.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\ILIASObject\Properties\Translations\TranslationsTable::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 126 of file TranslationsTable.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\ILIASObject\Properties\Translations\TranslationsTable::getTable | ( | ) |
Definition at line 109 of file TranslationsTable.php.
References ILIAS\ILIASObject\Properties\Translations\TranslationsTable\$modal_with_error, ILIAS\ILIASObject\Properties\Translations\TranslationsTable\getActions(), ILIAS\FileDelivery\http(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\ILIASObject\Properties\Translations\TranslationsTable::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 140 of file TranslationsTable.php.
|
private |
Definition at line 245 of file TranslationsTable.php.
Referenced by ILIAS\ILIASObject\Properties\Translations\TranslationsTable\runAction().
Here is the caller graph for this function:
|
private |
Definition at line 340 of file TranslationsTable.php.
References ILIAS\FileDelivery\http().
Here is the call graph for this function:
|
private |
Definition at line 326 of file TranslationsTable.php.
| ILIAS\ILIASObject\Properties\Translations\TranslationsTable::runAction | ( | ) |
Definition at line 88 of file TranslationsTable.php.
References ILIAS\ILIASObject\Properties\Translations\TranslationsTable\deleteTranslations(), ILIAS\ILIASObject\Properties\Translations\TranslationsTable\editTranslation(), ILIAS\FileDelivery\http(), and ILIAS\ILIASObject\Properties\Translations\TranslationsTable\makeDefault().
Here is the call graph for this function:
|
private |
Definition at line 367 of file TranslationsTable.php.
References $response, and ILIAS\FileDelivery\http().
Here is the call graph for this function:
|
private |
Definition at line 58 of file TranslationsTable.php.
Referenced by ILIAS\ILIASObject\Properties\Translations\TranslationsTable\getTable().
|
private |
Definition at line 54 of file TranslationsTable.php.
Referenced by ILIAS\ILIASObject\Properties\Translations\TranslationsTable\__construct().
|
private |
Definition at line 55 of file TranslationsTable.php.
Referenced by ILIAS\ILIASObject\Properties\Translations\TranslationsTable\__construct().
|
private |
Definition at line 56 of file TranslationsTable.php.
Referenced by ILIAS\ILIASObject\Properties\Translations\TranslationsTable\__construct().
|
private |
Definition at line 53 of file TranslationsTable.php.
Referenced by ILIAS\ILIASObject\Properties\Translations\TranslationsTable\__construct().
| const ILIAS\ILIASObject\Properties\Translations\TranslationsTable::ACTION_DELETE = 'd' |
Definition at line 51 of file TranslationsTable.php.
| const ILIAS\ILIASObject\Properties\Translations\TranslationsTable::ACTION_EDIT = 'e' |
Definition at line 49 of file TranslationsTable.php.
| const ILIAS\ILIASObject\Properties\Translations\TranslationsTable::ACTION_MAKE_DEFAULT = 'md' |
Definition at line 50 of file TranslationsTable.php.
|
private |
Definition at line 44 of file TranslationsTable.php.
|
private |
Definition at line 45 of file TranslationsTable.php.
|
private |
Definition at line 47 of file TranslationsTable.php.
|
private |
Definition at line 46 of file TranslationsTable.php.