ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
Class ilOrgUnitTypeGUI. More...
Public Member Functions | |
__construct (private ilObjOrgUnitGUI $parent_gui) | |
executeCommand () | |
getSingleTypeLinkTarget (string $action, ?int $type_id=null) | |
Protected Member Functions | |
getIconForm (?string $section_title=null, ?string $current_identifier=null) | |
getAvailableAMDRecords () | |
getCurrentOrgUnitType () | |
getRowIdFromQuery () | |
getAmdForm (string $action, array $available_records, ilOrgUnitType $type) | |
getTable () | |
getTableDataRetrieval () | |
getEditForm (ilOrgUnitType $type) | |
Protected Attributes | |
ilLanguage | $lng |
ILIAS UI Component Link Factory | $link_factory |
UIFactory | $ui_factory |
UIRenderer | $ui_renderer |
Refinery | $refinery |
ServerRequestInterface | $request |
DataFactory | $data_factory |
URLBuilder | $url_builder |
array | $query_namespace |
URLBuilderToken | $action_token |
URLBuilderToken | $row_id_token |
ILIAS HTTP Wrapper ArrayBasedRequestWrapper | $query |
Private Member Functions | |
checkAccess () | |
setSubTabsEdit (string $active_tab_id) | |
editCustomIcons () | |
updateCustomIcons () | |
editAMD () | |
updateAMD () | |
listTypes () | |
Display all types in a table with actions to edit/delete. More... | |
edit () | |
Display form to edit an existing OrgUnit type. More... | |
update () | |
Update (save) type. More... | |
delete () | |
Delete a type. More... | |
Private Attributes | |
ilCtrl | $ctrl |
ilGlobalTemplateInterface | $tpl |
ilTabsGUI | $tabs |
ilAccessHandler | $access |
ilToolbarGUI | $toolbar |
ilSetting | $settings |
Class ilOrgUnitTypeGUI.
Definition at line 39 of file class.ilOrgUnitTypeGUI.php.
ilOrgUnitTypeGUI::__construct | ( | private ilObjOrgUnitGUI | $parent_gui | ) |
ilObjOrgUnitGUI | $parent_gui |
Definition at line 63 of file class.ilOrgUnitTypeGUI.php.
References $action_token, $DIC, $row_id_token, $url_builder, ILIAS\Repository\access(), checkAccess(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Repository\settings(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
Referenced by getTableDataRetrieval().
|
private |
Definition at line 163 of file class.ilOrgUnitTypeGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by __construct().
|
private |
Delete a type.
Definition at line 595 of file class.ilOrgUnitTypeGUI.php.
References Vendor\Package\$e, ILIAS\Repository\ctrl(), getCurrentOrgUnitType(), and ILIAS\Repository\lng().
|
private |
Display form to edit an existing OrgUnit type.
Definition at line 566 of file class.ilOrgUnitTypeGUI.php.
References getCurrentOrgUnitType(), and getEditForm().
Referenced by executeCommand().
|
private |
Definition at line 355 of file class.ilOrgUnitTypeGUI.php.
References getAmdForm(), getAvailableAMDRecords(), getCurrentOrgUnitType(), and getSingleTypeLinkTarget().
Referenced by executeCommand().
|
private |
Definition at line 238 of file class.ilOrgUnitTypeGUI.php.
References getCurrentOrgUnitType(), and getIconForm().
Referenced by executeCommand().
ilOrgUnitTypeGUI::executeCommand | ( | ) |
Definition at line 100 of file class.ilOrgUnitTypeGUI.php.
References ILIAS\Repository\ctrl(), edit(), editAMD(), editCustomIcons(), listTypes(), ILIAS\Repository\refinery(), setSubTabsEdit(), update(), updateAMD(), and updateCustomIcons().
|
protected |
Definition at line 308 of file class.ilOrgUnitTypeGUI.php.
References ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\UI\Implementation\Component\Input\ViewControl\withAdditionalTransformation(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by editAMD(), mock_ilOrgUnitTypeGUI\mockGetAmdForm(), and updateAMD().
|
protected |
Definition at line 277 of file class.ilOrgUnitTypeGUI.php.
References ilOrgUnitType\getAvailableAdvancedMDRecords().
Referenced by editAMD(), and updateAMD().
|
protected |
Definition at line 282 of file class.ilOrgUnitTypeGUI.php.
References getRowIdFromQuery().
Referenced by delete(), edit(), editAMD(), editCustomIcons(), update(), updateAMD(), and updateCustomIcons().
|
protected |
Definition at line 498 of file class.ilOrgUnitTypeGUI.php.
References Vendor\Package\$e, Vendor\Package\$f, ilOrgUnitType\getDefaultLang(), ilOrgUnitType\getDescription(), ilOrgUnitType\getId(), getSingleTypeLinkTarget(), ilOrgUnitType\getTitle(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ilOrgUnitType\setDescription(), ilOrgUnitType\setTitle(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by edit(), and update().
|
protected |
Definition at line 200 of file class.ilOrgUnitTypeGUI.php.
References getSingleTypeLinkTarget(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Referenced by editCustomIcons(), and updateCustomIcons().
|
protected |
Definition at line 288 of file class.ilOrgUnitTypeGUI.php.
References ILIAS\Repository\refinery().
Referenced by getCurrentOrgUnitType(), getSingleTypeLinkTarget(), and setSubTabsEdit().
ilOrgUnitTypeGUI::getSingleTypeLinkTarget | ( | string | $action, |
?int | $type_id = null |
||
) |
Definition at line 299 of file class.ilOrgUnitTypeGUI.php.
References getRowIdFromQuery().
Referenced by editAMD(), getEditForm(), getIconForm(), setSubTabsEdit(), and updateAMD().
|
protected |
Definition at line 404 of file class.ilOrgUnitTypeGUI.php.
References $row_id_token, getTableDataRetrieval(), and ILIAS\Repository\lng().
Referenced by listTypes().
|
protected |
Definition at line 433 of file class.ilOrgUnitTypeGUI.php.
References Vendor\Package\$a, Vendor\Package\$b, $data, ILIAS\UI\Implementation\Component\Table\$range, $ui_factory, $ui_renderer, __construct(), ilOrgUnitType\getAllTypes(), ILIAS\Data\Range\getLength(), ILIAS\Data\Range\getStart(), and ILIAS\Data\Order\join().
Referenced by getTable().
|
private |
Display all types in a table with actions to edit/delete.
Definition at line 388 of file class.ilOrgUnitTypeGUI.php.
References $url, ILIAS\Repository\ctrl(), getTable(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
Referenced by executeCommand().
|
private |
Definition at line 171 of file class.ilOrgUnitTypeGUI.php.
References getRowIdFromQuery(), getSingleTypeLinkTarget(), ILIAS\Repository\lng(), ILIAS\Repository\settings(), ILIAS\Repository\tabs(), and ILIAS\UI\URLBuilder\withParameter().
Referenced by executeCommand().
|
private |
Update (save) type.
Definition at line 576 of file class.ilOrgUnitTypeGUI.php.
References ILIAS\Repository\ctrl(), getCurrentOrgUnitType(), getEditForm(), and ILIAS\Repository\lng().
Referenced by executeCommand().
|
private |
Definition at line 367 of file class.ilOrgUnitTypeGUI.php.
References ILIAS\Repository\ctrl(), getAmdForm(), getAvailableAMDRecords(), getCurrentOrgUnitType(), getSingleTypeLinkTarget(), and ILIAS\Repository\lng().
Referenced by executeCommand().
|
private |
Definition at line 248 of file class.ilOrgUnitTypeGUI.php.
References $data, ILIAS\Repository\ctrl(), getCurrentOrgUnitType(), getIconForm(), and ILIAS\Repository\lng().
Referenced by executeCommand().
|
private |
Definition at line 44 of file class.ilOrgUnitTypeGUI.php.
|
protected |
Definition at line 56 of file class.ilOrgUnitTypeGUI.php.
Referenced by __construct().
|
private |
Definition at line 41 of file class.ilOrgUnitTypeGUI.php.
|
protected |
Definition at line 53 of file class.ilOrgUnitTypeGUI.php.
Referenced by ilModulesOrgUnitTypeTest\getRefinery(), and ilModulesOrgUnitTypeTest\getUIFactory().
Definition at line 48 of file class.ilOrgUnitTypeGUI.php.
|
protected |
Definition at line 47 of file class.ilOrgUnitTypeGUI.php.
Referenced by mock_ilOrgUnitTypeGUI\__construct().
|
protected |
Definition at line 58 of file class.ilOrgUnitTypeGUI.php.
|
protected |
Definition at line 55 of file class.ilOrgUnitTypeGUI.php.
|
protected |
Definition at line 51 of file class.ilOrgUnitTypeGUI.php.
Referenced by ilModulesOrgUnitTypeTest\getRefinery(), and ilModulesOrgUnitTypeTest\getUIFactory().
|
protected |
Definition at line 52 of file class.ilOrgUnitTypeGUI.php.
|
protected |
Definition at line 57 of file class.ilOrgUnitTypeGUI.php.
Referenced by __construct(), and getTable().
|
private |
Definition at line 46 of file class.ilOrgUnitTypeGUI.php.
|
private |
Definition at line 43 of file class.ilOrgUnitTypeGUI.php.
|
private |
Definition at line 45 of file class.ilOrgUnitTypeGUI.php.
|
private |
Definition at line 42 of file class.ilOrgUnitTypeGUI.php.
|
protected |
Definition at line 49 of file class.ilOrgUnitTypeGUI.php.
Referenced by getTableDataRetrieval().
|
protected |
Definition at line 50 of file class.ilOrgUnitTypeGUI.php.
Referenced by getTableDataRetrieval().
|
protected |
Definition at line 54 of file class.ilOrgUnitTypeGUI.php.
Referenced by __construct().