|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Class ilOrgUnitUserAssignmentGUI. More...
Inheritance diagram for ilOrgUnitUserAssignmentGUI:
Collaboration diagram for ilOrgUnitUserAssignmentGUI:Public Member Functions | |
| __construct () | |
| executeCommand () | |
| addStaff () | |
| addStaffFromSearch (array $user_ids, ?string $user_type=null) | |
| addSubTabs () | |
Public Member Functions inherited from ILIAS\components\OrgUnit\ARHelper\BaseCommands | |
| getParentGui () | |
| setParentGui (BaseCommands $parent_gui) | |
| executeCommand () | |
| addSubTabs () | |
Data Fields | |
| const | SUBTAB_ASSIGNMENTS = 'user_assignments' |
| const | SUBTAB_ASSIGNMENTS_RECURSIVE = 'user_assignments_recursive' |
| const | CMD_ASSIGNMENTS_RECURSIVE = 'assignmentsRecursive' |
| const | CMD_REMOVE_CONFIRM = 'confirmRemove' |
| const | CMD_REMOVE = 'remove' |
| const | CMD_REMOVE_RECURSIVELY_CONFIRM = 'confirmRemoveRecursively' |
| const | CMD_REMOVE_RECURSIVE = "removeRecursive" |
| const | CMD_SHOW_LP = 'showLearningProgress' |
Data Fields inherited from ILIAS\components\OrgUnit\ARHelper\BaseCommands | |
| 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 | |
| index () | |
| assignmentsRecursive () | |
| confirmRemove (bool $recursive=false) | |
| confirmRemoveRecursively () | |
| remove () | |
| removeRecursive () | |
| showLearningProgress () | |
| getStaffTable (ilOrgUnitPosition $position, array $orgu_ids, bool $recursive=false) | |
| getPositionAndUserIdFromTableQuery () | |
| cancel () | |
Protected Member Functions inherited from ILIAS\components\OrgUnit\ARHelper\BaseCommands | |
| __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 () | |
Private Attributes | |
| ilToolbarGUI | $toolbar |
| ilOrgUnitPositionDBRepository | $positionRepo |
| ilOrgUnitUserAssignmentDBRepository | $assignmentRepo |
Additional Inherited Members | |
Protected Attributes inherited from ILIAS\components\OrgUnit\ARHelper\BaseCommands | |
| 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 |
Class ilOrgUnitUserAssignmentGUI.
Definition at line 31 of file class.ilOrgUnitUserAssignmentGUI.php.
| ilOrgUnitUserAssignmentGUI::__construct | ( | ) |
Definition at line 46 of file class.ilOrgUnitUserAssignmentGUI.php.
References $DIC, $dic, ILIAS\GlobalScreen\Provider\__construct(), ilOrgUnitLocalDIC\dic(), and ILIAS\Repository\toolbar().
Here is the call graph for this function:| ilOrgUnitUserAssignmentGUI::addStaff | ( | ) |
Definition at line 313 of file class.ilOrgUnitUserAssignmentGUI.php.
References $_POST, $user_id, ilObjUser\_lookupId(), ILIAS\Repository\access(), ilOrgUnitPosition\CORE_POSITION_EMPLOYEE, ILIAS\Repository\ctrl(), ILIAS\components\OrgUnit\ARHelper\BaseCommands\getParentRefId(), ILIAS\Repository\int(), and ILIAS\Repository\lng().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilOrgUnitUserAssignmentGUI::addStaffFromSearch | ( | array | $user_ids, |
| ?string | $user_type = null |
||
| ) |
| array<int> | $user_ids |
Definition at line 351 of file class.ilOrgUnitUserAssignmentGUI.php.
References $user_id, ILIAS\Repository\access(), ilOrgUnitPosition\CORE_POSITION_EMPLOYEE, ILIAS\Repository\ctrl(), ILIAS\components\OrgUnit\ARHelper\BaseCommands\getParentRefId(), ILIAS\Repository\int(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilOrgUnitUserAssignmentGUI::addSubTabs | ( | ) |
Definition at line 377 of file class.ilOrgUnitUserAssignmentGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\components\OrgUnit\ARHelper\BaseCommands\pushSubTab().
Referenced by assignmentsRecursive(), and index().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 119 of file class.ilOrgUnitUserAssignmentGUI.php.
References $ref_id, ilObjOrgUnitAccess\_checkAccessStaff(), ilObjOrgUnitAccess\_checkAccessStaffRec(), ilObjOrgUnitTree\_getInstance(), ILIAS\components\OrgUnit\ARHelper\BaseCommands\activeSubTab(), addSubTabs(), ILIAS\components\OrgUnit\ARHelper\BaseCommands\getParentRefId(), ilObjOrgUnit\getRootOrgRefId(), getStaffTable(), ILIAS\Repository\int(), and ILIAS\components\OrgUnit\ARHelper\BaseCommands\setContent().
Referenced by removeRecursive().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 308 of file class.ilOrgUnitUserAssignmentGUI.php.
References ILIAS\Repository\ctrl().
Referenced by remove().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 165 of file class.ilOrgUnitUserAssignmentGUI.php.
References $id, ilObjUser\_lookupLogin(), exit, getPositionAndUserIdFromTableQuery(), and ILIAS\Repository\lng().
Referenced by confirmRemoveRecursively().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 192 of file class.ilOrgUnitUserAssignmentGUI.php.
References confirmRemove().
Here is the call graph for this function:| ilOrgUnitUserAssignmentGUI::executeCommand | ( | ) |
Definition at line 58 of file class.ilOrgUnitUserAssignmentGUI.php.
References $r, ilObjOrgUnitAccess\_checkAccessPositions(), ilObjOrgUnitAccess\_checkAccessStaff(), addStaff(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 292 of file class.ilOrgUnitUserAssignmentGUI.php.
References $id, and ILIAS\Repository\refinery().
Referenced by confirmRemove(), remove(), removeRecursive(), and showLearningProgress().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 235 of file class.ilOrgUnitUserAssignmentGUI.php.
References $assignmentRepo, $id, ILIAS\components\OrgUnit\ARHelper\BaseCommands\$row_id_token, ILIAS\Repository\access(), ilOrgUnitPosition\getId(), ILIAS\components\OrgUnit\ARHelper\BaseCommands\getParentRefId(), ilOrgUnitPosition\getTitle(), and ILIAS\Repository\lng().
Referenced by assignmentsRecursive(), and index().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 96 of file class.ilOrgUnitUserAssignmentGUI.php.
References ILIAS\Repository\access(), ILIAS\components\OrgUnit\ARHelper\BaseCommands\activeSubTab(), addSubTabs(), ILIAS\Repository\ctrl(), ilRepositorySearchGUI\fillAutoCompleteToolbar(), ILIAS\components\OrgUnit\ARHelper\BaseCommands\getParentRefId(), getStaffTable(), ILIAS\Repository\lng(), ILIAS\components\OrgUnit\ARHelper\BaseCommands\setContent(), and ILIAS\Repository\toolbar().
Here is the call graph for this function:
|
protected |
Definition at line 197 of file class.ilOrgUnitUserAssignmentGUI.php.
References cancel(), ILIAS\Repository\ctrl(), ILIAS\components\OrgUnit\ARHelper\BaseCommands\getParentRefId(), getPositionAndUserIdFromTableQuery(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 216 of file class.ilOrgUnitUserAssignmentGUI.php.
References assignmentsRecursive(), getPositionAndUserIdFromTableQuery(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 227 of file class.ilOrgUnitUserAssignmentGUI.php.
References ILIAS\Repository\ctrl(), and getPositionAndUserIdFromTableQuery().
Here is the call graph for this function:
|
private |
Definition at line 44 of file class.ilOrgUnitUserAssignmentGUI.php.
Referenced by getStaffTable().
|
private |
Definition at line 43 of file class.ilOrgUnitUserAssignmentGUI.php.
|
private |
Definition at line 42 of file class.ilOrgUnitUserAssignmentGUI.php.
| const ilOrgUnitUserAssignmentGUI::CMD_ASSIGNMENTS_RECURSIVE = 'assignmentsRecursive' |
Definition at line 35 of file class.ilOrgUnitUserAssignmentGUI.php.
| const ilOrgUnitUserAssignmentGUI::CMD_REMOVE = 'remove' |
Definition at line 37 of file class.ilOrgUnitUserAssignmentGUI.php.
| const ilOrgUnitUserAssignmentGUI::CMD_REMOVE_CONFIRM = 'confirmRemove' |
Definition at line 36 of file class.ilOrgUnitUserAssignmentGUI.php.
| const ilOrgUnitUserAssignmentGUI::CMD_REMOVE_RECURSIVE = "removeRecursive" |
Definition at line 39 of file class.ilOrgUnitUserAssignmentGUI.php.
| const ilOrgUnitUserAssignmentGUI::CMD_REMOVE_RECURSIVELY_CONFIRM = 'confirmRemoveRecursively' |
Definition at line 38 of file class.ilOrgUnitUserAssignmentGUI.php.
| const ilOrgUnitUserAssignmentGUI::CMD_SHOW_LP = 'showLearningProgress' |
Definition at line 40 of file class.ilOrgUnitUserAssignmentGUI.php.
| const ilOrgUnitUserAssignmentGUI::SUBTAB_ASSIGNMENTS = 'user_assignments' |
Definition at line 33 of file class.ilOrgUnitUserAssignmentGUI.php.
| const ilOrgUnitUserAssignmentGUI::SUBTAB_ASSIGNMENTS_RECURSIVE = 'user_assignments_recursive' |
Definition at line 34 of file class.ilOrgUnitUserAssignmentGUI.php.