ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilOrgUnitUserAssignmentGUI Class Reference

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
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilOrgUnitUserAssignmentGUI::__construct ( )

Definition at line 46 of file class.ilOrgUnitUserAssignmentGUI.php.

47 {
48 parent::__construct(['orgu', 'staff']);
49
50 global $DIC;
51 $this->toolbar = $DIC->toolbar();
52
54 $this->positionRepo = $dic["repo.Positions"];
55 $this->assignmentRepo = $dic["repo.UserAssignments"];
56 }
$dic
Definition: ltiresult.php:33
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $DIC
Definition: shib_login.php:26

References $DIC, $dic, ILIAS\GlobalScreen\Provider\__construct(), ilOrgUnitLocalDIC\dic(), and ILIAS\Repository\toolbar().

+ Here is the call graph for this function:

Member Function Documentation

◆ addStaff()

ilOrgUnitUserAssignmentGUI::addStaff ( )

Definition at line 313 of file class.ilOrgUnitUserAssignmentGUI.php.

313 : void
314 {
315 if (!$this->access->checkAccess("write", "", $this->getParentRefId())) {
316 $this->tpl->setOnScreenMessage('failure', $this->lng->txt("permission_denied"), true);
317 $this->ctrl->redirect($this, self::CMD_INDEX);
318 }
319
320 $users = explode(',', $_POST['user_login']);
321 $user_ids = array();
322 foreach ($users as $user) {
324 if ($user_id) {
325 $user_ids[] = $user_id;
326 }
327 }
328
329 if (!count($user_ids)) {
330 $this->tpl->setOnScreenMessage('failure', $this->lng->txt("user_not_found"), true);
331 $this->ctrl->redirect($this, self::CMD_INDEX);
332 }
333
334 $position_id = (int) ($_POST['user_type'] ?? ilOrgUnitPosition::CORE_POSITION_EMPLOYEE);
335
336 if ($position_id === 0 || !$this->positionRepo->getSingle($position_id, 'id')) {
337 $this->tpl->setOnScreenMessage('failure', $this->lng->txt("user_not_found"), true);
338 $this->ctrl->redirect($this, self::CMD_INDEX);
339 }
340 foreach ($user_ids as $user_id) {
341 $assignment = $this->assignmentRepo->get($user_id, $position_id, $this->getParentRefId());
342 }
343
344 $this->tpl->setOnScreenMessage('success', $this->lng->txt("users_successfuly_added"), true);
345 $this->ctrl->redirect($this, self::CMD_INDEX);
346 }
static _lookupId(string|array $a_user_str)
$_POST['cmd']
Definition: lti.php:27

References $_POST, $user_id, ilObjUser\_lookupId(), ILIAS\Repository\access(), ilOrgUnitPosition\CORE_POSITION_EMPLOYEE, ILIAS\Repository\ctrl(), 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:

◆ addStaffFromSearch()

ilOrgUnitUserAssignmentGUI::addStaffFromSearch ( array  $user_ids,
?string  $user_type = null 
)
Parameters
array<int>$user_ids

Definition at line 351 of file class.ilOrgUnitUserAssignmentGUI.php.

351 : void
352 {
353 if (!$this->access->checkAccess("write", "", $this->getParentRefId())) {
354 $this->tpl->setOnScreenMessage('failure', $this->lng->txt("permission_denied"), true);
355 $this->ctrl->redirect($this, self::CMD_INDEX);
356 }
357
358 if (!count($user_ids)) {
359 $this->tpl->setOnScreenMessage('failure', $this->lng->txt("user_not_found"), true);
360 $this->ctrl->redirect($this, self::CMD_INDEX);
361 }
362
363 $position_id = (int) ($user_type ?? ilOrgUnitPosition::CORE_POSITION_EMPLOYEE);
364
365 if ($position_id === 0 || !$this->positionRepo->getSingle($position_id, 'id')) {
366 $this->tpl->setOnScreenMessage('failure', $this->lng->txt("user_not_found"), true);
367 $this->ctrl->redirect($this, self::CMD_INDEX);
368 }
369 foreach ($user_ids as $user_id) {
370 $assignment = $this->assignmentRepo->get($user_id, $position_id, $this->getParentRefId());
371 }
372
373 $this->tpl->setOnScreenMessage('success', $this->lng->txt("users_successfuly_added"), true);
374 $this->ctrl->redirect($this, self::CMD_INDEX);
375 }

References $user_id, ILIAS\Repository\access(), ilOrgUnitPosition\CORE_POSITION_EMPLOYEE, ILIAS\Repository\ctrl(), ILIAS\Repository\int(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ addSubTabs()

ilOrgUnitUserAssignmentGUI::addSubTabs ( )

Reimplemented from ILIAS\components\OrgUnit\ARHelper\BaseCommands.

Definition at line 377 of file class.ilOrgUnitUserAssignmentGUI.php.

377 : void
378 {
379 $this->pushSubTab(self::SUBTAB_ASSIGNMENTS, $this->ctrl
380 ->getLinkTarget($this, self::CMD_INDEX));
381 $this->pushSubTab(self::SUBTAB_ASSIGNMENTS_RECURSIVE, $this->ctrl
382 ->getLinkTarget(
383 $this,
384 self::CMD_ASSIGNMENTS_RECURSIVE
385 ));
386 }
pushSubTab(string $subtab_id, string $url)

References ILIAS\Repository\ctrl().

Referenced by assignmentsRecursive(), and index().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ assignmentsRecursive()

ilOrgUnitUserAssignmentGUI::assignmentsRecursive ( )
protected

Definition at line 119 of file class.ilOrgUnitUserAssignmentGUI.php.

119 : void
120 {
121 $this->addSubTabs();
122 $this->activeSubTab(self::SUBTAB_ASSIGNMENTS_RECURSIVE);
123
124 $orgu_ref_id = $this->getParentRefId();
125 $orgu_tree = ilObjOrgUnitTree::_getInstance();
126 $permission_access_staff_recursive = [];
127 // maybe any parent gives us recursive permission
128 (int) $root = (int) ilObjOrgUnit::getRootOrgRefId();
129 $parent = (int) $orgu_tree->getParent($orgu_ref_id);
130
131 while ($parent !== $root) {
133 array_merge(
134 $permission_access_staff_recursive = $permission_access_staff_recursive,
135 $orgu_tree->getAllChildren($parent)
136 );
137 }
138 $parent = (int) $orgu_tree->getParent($parent);
139 }
140
141 foreach ($orgu_tree->getAllChildren($orgu_ref_id) as $ref_id) {
142 $recursive = in_array($ref_id, $permission_access_staff_recursive);
143 if (!$recursive) {
144 // ok, so no permission from above, lets check local permissions
146 // update recursive permissions
147 $permission_access_staff_recursive = array_merge(
148 $permission_access_staff_recursive,
149 $orgu_tree->getAllChildren($ref_id)
150 );
152 // skip orgus in which one may not view the staff
153 continue;
154 }
155 }
156 }
157
158 $tables = [];
159 foreach ($this->positionRepo->getPositionsForOrgUnit($this->getParentRefId()) as $ilOrgUnitPosition) {
160 $tables[] = $this->getStaffTable($ilOrgUnitPosition, $permission_access_staff_recursive, true);
161 }
162 $this->setContent($this->ui_renderer->render($tables));
163 }
static _checkAccessStaffRec(int $ref_id)
static _checkAccessStaff(int $ref_id)
static getRootOrgRefId()
getStaffTable(ilOrgUnitPosition $position, array $orgu_ids, bool $recursive=false)
$ref_id
Definition: ltiauth.php:66

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:

◆ cancel()

ilOrgUnitUserAssignmentGUI::cancel ( )
protected
Exceptions

ilCtrlException

Reimplemented from ILIAS\components\OrgUnit\ARHelper\BaseCommands.

Definition at line 308 of file class.ilOrgUnitUserAssignmentGUI.php.

308 : void
309 {
310 $this->ctrl->redirect($this, self::CMD_INDEX);
311 }

References ILIAS\Repository\ctrl().

Referenced by remove().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ confirmRemove()

ilOrgUnitUserAssignmentGUI::confirmRemove ( bool  $recursive = false)
protected

Definition at line 165 of file class.ilOrgUnitUserAssignmentGUI.php.

165 : void
166 {
167 list($position_id, $usr_id) = $this->getPositionAndUserIdFromTableQuery();
168
169 $id = implode('_', [(string) $position_id, (string) $usr_id]);
170 $usr_name = ilObjUser::_lookupLogin($usr_id);
171 $pos_name = $this->positionRepo->getSingle($position_id, 'id')->getTitle();
172
173 $item = $this->ui_factory->modal()->interruptiveItem()
174 ->keyValue($id, $usr_name, $pos_name);
175
176 $del_command = $recursive ? self::CMD_REMOVE_RECURSIVE : self::CMD_REMOVE;
177 $action = $this->url_builder
178 ->withParameter($this->row_id_token, $id)
179 ->withParameter($this->action_token, $del_command)
180 ->buildURI()->__toString();
181
182 echo($this->ui_renderer->renderAsync([
183 $this->ui_factory->modal()->interruptive(
184 $this->lng->txt('remove_user'),
185 sprintf($this->lng->txt('msg_confirm_remove_user'), $pos_name),
186 $action
187 )->withAffectedItems([$item])
188 ]));
189 exit();
190 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
static _lookupLogin(int $a_user_id)
exit

References $id, ilObjUser\_lookupLogin(), CMD_REMOVE, CMD_REMOVE_RECURSIVE, 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:

◆ confirmRemoveRecursively()

ilOrgUnitUserAssignmentGUI::confirmRemoveRecursively ( )
protected

Definition at line 192 of file class.ilOrgUnitUserAssignmentGUI.php.

192 : void
193 {
194 $this->confirmRemove(true);
195 }

References confirmRemove().

+ Here is the call graph for this function:

◆ executeCommand()

ilOrgUnitUserAssignmentGUI::executeCommand ( )
Exceptions

ilCtrlException

Reimplemented from ILIAS\components\OrgUnit\ARHelper\BaseCommands.

Definition at line 58 of file class.ilOrgUnitUserAssignmentGUI.php.

58 : void
59 {
60 if (
62 (int) filter_input(INPUT_GET, "ref_id", FILTER_SANITIZE_NUMBER_INT)
63 )
64 &&
66 (int) filter_input(INPUT_GET, "ref_id", FILTER_SANITIZE_NUMBER_INT)
67 )
68 ) {
69 $this->tpl->setOnScreenMessage('failure', $this->lng->txt("permission_denied"), true);
70 $this->ctrl->redirectByClass(ilObjOrgUnitGUI::class);
71 }
72
73 $r = $this->http->request();
74 switch ($this->ctrl->getNextClass()) {
75 case strtolower(ilRepositorySearchGUI::class):
76 switch ($this->ctrl->getCmd()) {
77 case 'addUserFromAutoComplete':
78 if ($r->getQueryParams()['addusertype'] == "staff") {
79 $this->addStaff();
80 }
81 break;
82 default:
83 $repo = new ilRepositorySearchGUI();
84 $repo->setCallback($this, 'addStaffFromSearch');
85 $this->ctrl->forwardCommand($repo);
86 break;
87 }
88 break;
89
90 default:
91 parent::executeCommand();
92 break;
93 }
94 }
static _checkAccessPositions(int $ref_id)
static http()
Fetches the global http state from ILIAS.

References ilObjOrgUnitAccess\_checkAccessPositions(), ilObjOrgUnitAccess\_checkAccessStaff(), addStaff(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ getPositionAndUserIdFromTableQuery()

ilOrgUnitUserAssignmentGUI::getPositionAndUserIdFromTableQuery ( )
protected
Returns
array<int, int> position_id, user_id

Definition at line 292 of file class.ilOrgUnitUserAssignmentGUI.php.

292 : array
293 {
294 if ($this->query->has($this->row_id_token->getName())) {
295 return $this->query->retrieve(
296 $this->row_id_token->getName(),
297 $this->refinery->custom()->transformation(
298 function ($v) {
299 $id = is_array($v) ? array_shift($v) : $v;
300 return array_map('intval', explode('_', $id));
301 }
302 )
303 );
304 }
305 throw new \Exception('no position/user id in query');
306 }

References $id.

Referenced by confirmRemove(), remove(), removeRecursive(), and showLearningProgress().

+ Here is the caller graph for this function:

◆ getStaffTable()

ilOrgUnitUserAssignmentGUI::getStaffTable ( ilOrgUnitPosition  $position,
array  $orgu_ids,
bool  $recursive = false 
)
protected

Definition at line 235 of file class.ilOrgUnitUserAssignmentGUI.php.

239 : Table\Data {
240 $columns = [
241 'login' => $this->ui_factory->table()->column()->text($this->lng->txt("login")),
242 'firstname' => $this->ui_factory->table()->column()->text($this->lng->txt("firstname")),
243 'lastname' => $this->ui_factory->table()->column()->text($this->lng->txt("lastname")),
244 'active' => $this->ui_factory->table()->column()->boolean(
245 $this->lng->txt("active"),
246 $this->ui_factory->symbol()->icon()->custom('assets/images/standard/icon_ok.svg', '', 'small'),
247 $this->ui_factory->symbol()->icon()->custom('assets/images/standard/icon_not_ok.svg', '', 'small')
248 )->withIsOptional(true, false),
249 ];
250
251 $remove_cmd = self::CMD_REMOVE_CONFIRM;
252 if ($recursive) {
254 $columns['orgu_title'] = $this->ui_factory->table()->column()->text($this->lng->txt("obj_orgu"));
255 }
256
257 $actions = [
258 'remove' => $this->ui_factory->table()->action()->single(
259 $this->lng->txt('remove'),
260 $this->url_builder->withParameter($this->action_token, $remove_cmd),
261 $this->row_id_token
262 )->withAsync(),
263
264 'show_learning_progress' => $this->ui_factory->table()->action()->single(
265 $this->lng->txt('show_learning_progress'),
266 $this->url_builder->withParameter($this->action_token, self::CMD_SHOW_LP),
267 $this->row_id_token
268 ),
269 ];
270
271 $lp_visible = array_filter(
272 $orgu_ids,
273 fn($id) => $this->access->checkAccess("view_learning_progress", "", $id)
274 );
275
276 return $this->ui_factory->table()
277 ->data($this->assignmentRepo, $position->getTitle(), $columns)
278 ->withId(implode('.', ['orgustaff',$this->getParentRefId(),$position->getId()]))
279 ->withActions($actions)
280 ->withAdditionalParameters([
281 'position_id' => $position->getId(),
282 'orgu_ids' => $orgu_ids,
283 'lp_visible_ref_ids' => $lp_visible,
284 'write_access' => $this->access->checkAccess("write", "", $this->getParentRefId())
285 ])
286 ->withRequest($this->request);
287 }

References CMD_REMOVE_RECURSIVELY_CONFIRM, 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:

◆ index()

ilOrgUnitUserAssignmentGUI::index ( )
protected

Reimplemented from ILIAS\components\OrgUnit\ARHelper\BaseCommands.

Definition at line 96 of file class.ilOrgUnitUserAssignmentGUI.php.

96 : void
97 {
98 $this->addSubTabs();
99 $this->activeSubTab(self::SUBTAB_ASSIGNMENTS);
100
101 $types = $this->positionRepo->getArray('id', 'title');
102 $this->ctrl->setParameterByClass(ilRepositorySearchGUI::class, 'addusertype', 'staff');
103
104 if ($this->access->checkAccess("write", "", $this->getParentRefId())) {
106 'auto_complete_name' => $this->lng->txt('user'),
107 'user_type' => $types,
108 'submit_name' => $this->lng->txt('add'),
109 ));
110 }
111
112 $tables = [];
113 foreach ($this->positionRepo->getPositionsForOrgUnit($this->getParentRefId()) as $ilOrgUnitPosition) {
114 $tables[] = $this->getStaffTable($ilOrgUnitPosition, [$this->getParentRefId()], false);
115 }
116 $this->setContent($this->ui_renderer->render($tables));
117 }
static fillAutoCompleteToolbar(object $parent_object, ?ilToolbarGUI $toolbar=null, array $a_options=[], bool $a_sticky=false)
array( auto_complete_name = $lng->txt('user'), auto_complete_size = 15, user_type = array(ilCoursePar...

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:

◆ remove()

ilOrgUnitUserAssignmentGUI::remove ( )
protected

Definition at line 197 of file class.ilOrgUnitUserAssignmentGUI.php.

197 : void
198 {
199 list($position_id, $usr_id) = $this->getPositionAndUserIdFromTableQuery();
200
201 $assignment = $this->assignmentRepo->find(
202 $usr_id,
203 $position_id,
204 $this->getParentRefId()
205 );
206 if (!$assignment) {
207 $this->tpl->setOnScreenMessage('failure', $this->lng->txt("user_not_found_to_delete"), true);
208 $this->ctrl->redirect($this, self::CMD_INDEX);
209 }
210 $this->assignmentRepo->delete($assignment);
211
212 $this->tpl->setOnScreenMessage('success', $this->lng->txt('remove_successful'), true);
213 $this->cancel();
214 }

References cancel(), ILIAS\Repository\ctrl(), ILIAS\components\OrgUnit\ARHelper\BaseCommands\getParentRefId(), getPositionAndUserIdFromTableQuery(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ removeRecursive()

ilOrgUnitUserAssignmentGUI::removeRecursive ( )
protected

Definition at line 216 of file class.ilOrgUnitUserAssignmentGUI.php.

216 : void
217 {
218 list($position_id, $usr_id) = $this->getPositionAndUserIdFromTableQuery();
219 $assignments = $this->assignmentRepo->getByUserAndPosition($usr_id, $position_id);
220 foreach ($assignments as $assignment) {
221 $this->assignmentRepo->delete($assignment);
222 }
223 $this->tpl->setOnScreenMessage('success', $this->lng->txt('remove_successful'), true);
224 $this->assignmentsRecursive();
225 }

References assignmentsRecursive(), getPositionAndUserIdFromTableQuery(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ showLearningProgress()

ilOrgUnitUserAssignmentGUI::showLearningProgress ( )
protected

Definition at line 227 of file class.ilOrgUnitUserAssignmentGUI.php.

227 : void
228 {
229 list($position_id, $usr_id) = $this->getPositionAndUserIdFromTableQuery();
230 $this->ctrl->setParameterByClass(ilLearningProgressGUI::class, 'obj_id', $usr_id);
231 $target = $this->ctrl->getLinkTargetByClass(ilLearningProgressGUI::class, "");
232 $this->ctrl->redirectToURL($target);
233 }

References ILIAS\Repository\ctrl(), and getPositionAndUserIdFromTableQuery().

+ Here is the call graph for this function:

Field Documentation

◆ $assignmentRepo

ilOrgUnitUserAssignmentDBRepository ilOrgUnitUserAssignmentGUI::$assignmentRepo
private

Definition at line 44 of file class.ilOrgUnitUserAssignmentGUI.php.

◆ $positionRepo

ilOrgUnitPositionDBRepository ilOrgUnitUserAssignmentGUI::$positionRepo
private

Definition at line 43 of file class.ilOrgUnitUserAssignmentGUI.php.

◆ $toolbar

ilToolbarGUI ilOrgUnitUserAssignmentGUI::$toolbar
private

Definition at line 42 of file class.ilOrgUnitUserAssignmentGUI.php.

◆ CMD_ASSIGNMENTS_RECURSIVE

const ilOrgUnitUserAssignmentGUI::CMD_ASSIGNMENTS_RECURSIVE = 'assignmentsRecursive'

Definition at line 35 of file class.ilOrgUnitUserAssignmentGUI.php.

◆ CMD_REMOVE

const ilOrgUnitUserAssignmentGUI::CMD_REMOVE = 'remove'

Definition at line 37 of file class.ilOrgUnitUserAssignmentGUI.php.

Referenced by confirmRemove().

◆ CMD_REMOVE_CONFIRM

const ilOrgUnitUserAssignmentGUI::CMD_REMOVE_CONFIRM = 'confirmRemove'

Definition at line 36 of file class.ilOrgUnitUserAssignmentGUI.php.

◆ CMD_REMOVE_RECURSIVE

const ilOrgUnitUserAssignmentGUI::CMD_REMOVE_RECURSIVE = "removeRecursive"

Definition at line 39 of file class.ilOrgUnitUserAssignmentGUI.php.

Referenced by confirmRemove().

◆ CMD_REMOVE_RECURSIVELY_CONFIRM

const ilOrgUnitUserAssignmentGUI::CMD_REMOVE_RECURSIVELY_CONFIRM = 'confirmRemoveRecursively'

Definition at line 38 of file class.ilOrgUnitUserAssignmentGUI.php.

Referenced by getStaffTable().

◆ CMD_SHOW_LP

const ilOrgUnitUserAssignmentGUI::CMD_SHOW_LP = 'showLearningProgress'

Definition at line 40 of file class.ilOrgUnitUserAssignmentGUI.php.

◆ SUBTAB_ASSIGNMENTS

const ilOrgUnitUserAssignmentGUI::SUBTAB_ASSIGNMENTS = 'user_assignments'

Definition at line 33 of file class.ilOrgUnitUserAssignmentGUI.php.

◆ SUBTAB_ASSIGNMENTS_RECURSIVE

const ilOrgUnitUserAssignmentGUI::SUBTAB_ASSIGNMENTS_RECURSIVE = 'user_assignments_recursive'

Definition at line 34 of file class.ilOrgUnitUserAssignmentGUI.php.


The documentation for this class was generated from the following file: