ILIAS
trunk Revision v11.0_alpha-1702-gfd3ecb7f852
|
Class ilOrgUnitPositionGUI. More...
Public Member Functions | |
__construct () | |
getSinglePosLinkTarget (string $action, ?int $pos_id=null) | |
addSubTabs () | |
![]() | |
getParentGui () | |
setParentGui (BaseCommands $parent_gui) | |
executeCommand () | |
addSubTabs () | |
Data Fields | |
const | SUBTAB_SETTINGS = 'settings' |
const | SUBTAB_PERMISSIONS = 'obj_orgunit_positions' |
const | CMD_CONFIRM_DELETION = 'confirmDeletion' |
const | CMD_ASSIGN = 'assign' |
![]() | |
const | CMD_INDEX = "index" |
const | CMD_DEFAULT_PERMISSIONS = "defaultPermissions" |
const | CMD_ADD = "add" |
const | CMD_CREATE = "create" |
const | CMD_EDIT = "edit" |
const | CMD_UPDATE = "update" |
const | CMD_CONFIRM = "confirm" |
const | CMD_DELETE = "delete" |
const | CMD_CANCEL = "cancel" |
const | AR_ID = "arid" |
Protected Member Functions | |
getPossibleNextClasses () | |
getActiveTabId () | |
index () | |
add () | |
create () | |
edit () | |
update () | |
defaultPermissions () | |
updateDefaultPermissions () | |
getDefaultPermissionsForm (int $position_id) | |
getTitleForFormHeaderByContext (string $context) | |
redirectIfCancelled () | |
assign (int $position_id) | |
confirmDeletion () | |
delete () | |
cancel () | |
getPositionFromRequest () | |
getTable () | |
![]() | |
__construct (protected array $query_namespace=['orgu', 'posedit']) | |
index () | |
getPossibleNextClasses () | |
getActiveTabId () | |
cancel () | |
setContent (string $html) | |
pushSubTab (string $subtab_id, string $url) | |
activeSubTab (string $subtab_id) | |
getParentRefId () | |
getRowIdFromQuery () | |
Protected Attributes | |
ilToolbarGUI | $toolbar |
ILIAS UI Component Link Factory | $link_factory |
ilOrgUnitPositionDBRepository | $positionRepo |
ilOrgUnitUserAssignmentDBRepository | $assignmentRepo |
ilOrgUnitPermissionDBRepository | $permissionRepo |
ilObjectDefinition | $objectDefinition |
ILIAS HTTP Wrapper ArrayBasedRequestWrapper | $post |
![]() | |
ilLanguage | $lng |
ilCtrl | $ctrl |
ilAccess | $access |
ILIAS HTTP Services | $http |
ilGlobalTemplateInterface | $tpl |
BaseCommands | $parent_gui = null |
URLBuilder | $url_builder |
URLBuilderToken | $action_token = null |
URLBuilderToken | $row_id_token |
DataFactory | $data_factory |
Refinery | $refinery |
ServerRequestInterface | $request |
ILIAS HTTP Wrapper ArrayBasedRequestWrapper | $query |
UIFactory | $ui_factory |
UIRenderer | $ui_renderer |
Private Member Functions | |
getAuthorityDescription (array $authorities) | |
Returns descriptions for authorities as an array of strings. More... | |
Class ilOrgUnitPositionGUI.
Definition at line 29 of file class.ilOrgUnitPositionGUI.php.
ilOrgUnitPositionGUI::__construct | ( | ) |
Definition at line 47 of file class.ilOrgUnitPositionGUI.php.
References $DIC, $dic, $ref_id, ILIAS\GlobalScreen\Provider\__construct(), ilObjOrgUnitAccess\_checkAccessPositions(), ILIAS\Repository\ctrl(), ilOrgUnitLocalDIC\dic(), ILIAS\Repository\initRequest(), ILIAS\Repository\lng(), ILIAS\Repository\objectDefinition(), and ILIAS\Repository\toolbar().
|
protected |
Definition at line 102 of file class.ilOrgUnitPositionGUI.php.
ilOrgUnitPositionGUI::addSubTabs | ( | ) |
Definition at line 345 of file class.ilOrgUnitPositionGUI.php.
References getSinglePosLinkTarget(), and ILIAS\components\OrgUnit\ARHelper\BaseCommands\pushSubTab().
Referenced by defaultPermissions(), and edit().
|
protected |
Definition at line 239 of file class.ilOrgUnitPositionGUI.php.
References cancel(), ilOrgUnitPosition\CORE_POSITION_EMPLOYEE, and ILIAS\Repository\lng().
Referenced by delete().
|
protected |
Definition at line 325 of file class.ilOrgUnitPositionGUI.php.
References ILIAS\Repository\ctrl().
Referenced by assign(), and confirmDeletion().
|
protected |
Definition at line 255 of file class.ilOrgUnitPositionGUI.php.
References cancel(), ILIAS\Repository\ctrl(), getAuthorityDescription(), getPositionFromRequest(), and ILIAS\Repository\lng().
|
protected |
Definition at line 109 of file class.ilOrgUnitPositionGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and redirectIfCancelled().
|
protected |
Definition at line 145 of file class.ilOrgUnitPositionGUI.php.
References ILIAS\components\OrgUnit\ARHelper\BaseCommands\activeSubTab(), addSubTabs(), getDefaultPermissionsForm(), and ILIAS\components\OrgUnit\ARHelper\BaseCommands\getRowIdFromQuery().
Referenced by updateDefaultPermissions().
|
protected |
Definition at line 294 of file class.ilOrgUnitPositionGUI.php.
References assign(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), null, and ILIAS\Repository\refinery().
|
protected |
Definition at line 121 of file class.ilOrgUnitPositionGUI.php.
References ILIAS\components\OrgUnit\ARHelper\BaseCommands\activeSubTab(), addSubTabs(), and getPositionFromRequest().
|
protected |
Definition at line 84 of file class.ilOrgUnitPositionGUI.php.
References ilObjOrgUnitGUI\TAB_POSITIONS.
|
private |
Returns descriptions for authorities as an array of strings.
ilOrgUnitAuthority[] | $authorities |
Definition at line 390 of file class.ilOrgUnitPositionGUI.php.
References $lang, ILIAS\components\OrgUnit\ARHelper\BaseCommands\$lng, ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), ilOrgUnitAuthority\OVER_EVERYONE, ilOrgUnitAuthority\SCOPE_SAME_ORGU, and ilOrgUnitAuthority\SCOPE_SUBSEQUENT_ORGUS.
Referenced by confirmDeletion().
|
protected |
Definition at line 166 of file class.ilOrgUnitPositionGUI.php.
References $context, $permissionRepo, getSinglePosLinkTarget(), getTitleForFormHeaderByContext(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by defaultPermissions(), and updateDefaultPermissions().
|
protected |
Definition at line 330 of file class.ilOrgUnitPositionGUI.php.
References $id, and ILIAS\components\OrgUnit\ARHelper\BaseCommands\getRowIdFromQuery().
Referenced by confirmDeletion(), edit(), and update().
|
protected |
Definition at line 77 of file class.ilOrgUnitPositionGUI.php.
ilOrgUnitPositionGUI::getSinglePosLinkTarget | ( | string | $action, |
?int | $pos_id = null |
||
) |
Definition at line 336 of file class.ilOrgUnitPositionGUI.php.
References ILIAS\components\OrgUnit\ARHelper\BaseCommands\getRowIdFromQuery(), and null.
Referenced by addSubTabs(), getDefaultPermissionsForm(), and index().
|
protected |
Definition at line 357 of file class.ilOrgUnitPositionGUI.php.
References ILIAS\components\OrgUnit\ARHelper\BaseCommands\$row_id_token, and ILIAS\Repository\lng().
Referenced by index().
|
protected |
Definition at line 211 of file class.ilOrgUnitPositionGUI.php.
References ILIAS\Repository\lng(), ilObjectPlugin\lookupTxtById(), and ILIAS\Repository\objectDefinition().
Referenced by getDefaultPermissionsForm().
|
protected |
Definition at line 89 of file class.ilOrgUnitPositionGUI.php.
References $url, getSinglePosLinkTarget(), getTable(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
|
protected |
Definition at line 220 of file class.ilOrgUnitPositionGUI.php.
References $url, ILIAS\Repository\ctrl(), and ILIAS\Repository\refinery().
Referenced by create(), and update().
|
protected |
Definition at line 131 of file class.ilOrgUnitPositionGUI.php.
References ILIAS\Repository\ctrl(), getPositionFromRequest(), ILIAS\Repository\lng(), and redirectIfCancelled().
|
protected |
Definition at line 153 of file class.ilOrgUnitPositionGUI.php.
References defaultPermissions(), getDefaultPermissionsForm(), ILIAS\components\OrgUnit\ARHelper\BaseCommands\getRowIdFromQuery(), and ILIAS\Repository\lng().
|
protected |
Definition at line 41 of file class.ilOrgUnitPositionGUI.php.
Definition at line 39 of file class.ilOrgUnitPositionGUI.php.
|
protected |
Definition at line 43 of file class.ilOrgUnitPositionGUI.php.
|
protected |
Definition at line 42 of file class.ilOrgUnitPositionGUI.php.
Referenced by getDefaultPermissionsForm().
|
protected |
Definition at line 40 of file class.ilOrgUnitPositionGUI.php.
|
protected |
Definition at line 44 of file class.ilOrgUnitPositionGUI.php.
|
protected |
Definition at line 38 of file class.ilOrgUnitPositionGUI.php.
const ilOrgUnitPositionGUI::CMD_ASSIGN = 'assign' |
Definition at line 36 of file class.ilOrgUnitPositionGUI.php.
const ilOrgUnitPositionGUI::CMD_CONFIRM_DELETION = 'confirmDeletion' |
Definition at line 35 of file class.ilOrgUnitPositionGUI.php.
const ilOrgUnitPositionGUI::SUBTAB_PERMISSIONS = 'obj_orgunit_positions' |
Definition at line 34 of file class.ilOrgUnitPositionGUI.php.
const ilOrgUnitPositionGUI::SUBTAB_SETTINGS = 'settings' |
Definition at line 33 of file class.ilOrgUnitPositionGUI.php.