This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
More...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Item group access class
- Author
- Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de
Definition at line 23 of file class.ilObjItemGroupAccess.php.
◆ __construct()
ilObjItemGroupAccess::__construct |
( |
| ) |
|
◆ _checkAccess()
ilObjItemGroupAccess::_checkAccess |
( |
string |
$cmd, |
|
|
string |
$permission, |
|
|
int |
$ref_id, |
|
|
int |
$obj_id, |
|
|
?int |
$user_id = null |
|
) |
| |
◆ _checkGoto()
static ilObjItemGroupAccess::_checkGoto |
( |
string |
$target | ) |
|
|
static |
Definition at line 59 of file class.ilObjItemGroupAccess.php.
References $DIC.
63 $ilAccess = $DIC->access();
65 $t_arr = explode(
"_", $target);
67 if ($t_arr[0] !=
"itgr" || ((
int) $t_arr[1]) <= 0) {
71 if ($ilAccess->checkAccess(
"read",
"", $t_arr[1])) {
◆ _getCommands()
static ilObjItemGroupAccess::_getCommands |
( |
| ) |
|
|
static |
Definition at line 40 of file class.ilObjItemGroupAccess.php.
References $DIC.
Referenced by ilObjItemGroupListGUI\init().
44 $DIC->language()->loadLanguageModule(
"itgr");
46 array(
"permission" =>
"read",
"cmd" =>
"gotoParent",
"lang_var" =>
"",
"default" =>
true),
47 array(
"permission" =>
"write",
"cmd" =>
"listMaterials",
"lang_var" =>
"itgr_assign_materials",
"default" =>
false),
48 array(
"permission" =>
"write",
"cmd" =>
"edit",
"lang_var" =>
"settings",
"default" =>
false)
◆ $access
◆ $lng
◆ $rbacsystem
◆ $user
The documentation for this class was generated from the following file: