42 array $ilOrgUnitPermissionsFilter,
48 $this->ilOrgUnitPermissions = $ilOrgUnitPermissionsFilter;
49 $this->
dic()->ctrl()->saveParameter($parent_gui,
'arid');
63 foreach ($this->ilOrgUnitPermissions as $ilOrgUnitPermission) {
64 $ilOrgUnitPermission->update();
72 $this->
setTitle($this->
txt(
"form_title_org_default_permissions_" 73 . BaseCommands::CMD_UPDATE));
80 foreach ($this->ilOrgUnitPermissions as $ilOrgUnitPermission) {
81 $ilOrgUnitPermission->afterObjectLoad();
82 if ($ilOrgUnitPermission->getContext() !== null) {
84 $context = $ilOrgUnitPermission->getContext()->getContext();
92 foreach ($ilOrgUnitPermission->getPossibleOperations() as $operation) {
93 $title = $this->
txt(
"org_op_{$operation->getOperationString()}");
94 $id = $operation->getOperationId();
103 $operations = array();
104 foreach ($this->ilOrgUnitPermissions as $ilOrgUnitPermission) {
105 $ilOrgUnitPermission->afterObjectLoad();
106 if ($ilOrgUnitPermission->getContext() !== null) {
107 $context = $ilOrgUnitPermission->getContext()->getContext();
108 foreach ($ilOrgUnitPermission->getPossibleOperations() as $operation) {
109 $id = $operation->getOperationId();
110 $operations[
"operations[{$context}][{$id}]"] = $ilOrgUnitPermission->isOperationIdSelected($operation->getOperationId());
122 $sent_operation_ids = ($this->
getInput(self::F_OPERATIONS) !=
'') ? $this->
getInput(self::F_OPERATIONS) : [];
123 foreach ($this->ilOrgUnitPermissions as $ilOrgUnitPermission) {
125 $ilOrgUnitPermission->afterObjectLoad();
126 if ($ilOrgUnitPermission->getContext()) {
127 $context = $ilOrgUnitPermission->getContext()->getContext();
128 foreach ($ilOrgUnitPermission->getPossibleOperations() as $operation) {
129 $id = $operation->getOperationId();
131 $operations[] = ilOrgUnitOperation::find($id);
134 $ilOrgUnitPermission->setOperations($operations);
169 $lang_code =
"obj_{$context}";
174 return $this->
txt($lang_code);
Class ChatMainBarProvider .
parses the objects.xml it handles the xml-description of all ilias objects
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
static lookupTxtById(string $plugin_id, string $lang_var)
__construct(Container $dic, ilPlugin $plugin)