ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ilObjRoleTemplateGUI Class Reference

Class ilObjRoleTemplateGUI. More...

+ Inheritance diagram for ilObjRoleTemplateGUI:
+ Collaboration diagram for ilObjRoleTemplateGUI:

Public Member Functions

 __construct ($a_data, $a_id, $a_call_by_reference)
 Constructor. More...
 
 executeCommand ()
 execute command More...
 
 createObject (ilPropertyFormGUI $form=null)
 create new role definition template More...
 
 editObject (ilPropertyFormGUI $form=null)
 Create new object. More...
 
 updateObject ()
 update role template object More...
 
 saveObject ()
 save a new role template object More...
 
 adoptPermSaveObject ()
 adopting permission setting from other roles/role templates More...
 
 getAdminTabs ()
 admin and normal tabs are equal for roles More...
 
 cancelObject ()
 cancelObject is called when an operation is canceled, method links back @access public More...
 
- Public Member Functions inherited from ilObjectGUI
 executeCommand ()
 execute command More...
 
 withReferences ()
 determines wether objects are referenced or not (got ref ids or not) More...
 
 setCreationMode ($a_mode=true)
 if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui More...
 
 getCreationMode ()
 get creation mode More...
 
 prepareOutput ($a_show_subobjects=true)
 prepare output More...
 
 getAdminTabs ()
 administration tabs show only permissions and trash folder More...
 
 getHTML ()
 
 confirmedDeleteObject ()
 confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More...
 
 cancelDeleteObject ()
 cancel deletion of object More...
 
 cancelObject ()
 cancel action and go back to previous page @access public More...
 
 createObject ()
 create new object form More...
 
 cancelCreation ()
 cancel create action and go back to repository parent More...
 
 saveObject ()
 save object More...
 
 getDidacticTemplateVar ($a_type)
 Get didactic template setting from creation screen. More...
 
 putObjectInTree (ilObject $a_obj, $a_parent_node_id=null)
 Add object to tree at given position. More...
 
 editObject ()
 edit object More...
 
 addExternalEditFormCustom (ilPropertyFormGUI $a_form)
 
 updateObject ()
 updates object entry in object_data More...
 
 getFormAction ($a_cmd, $a_formaction="")
 get form action for command (command is method name without "Object", e.g. More...
 
 isVisible ($a_ref_id, $a_type)
 
 viewObject ()
 viewObject container presentation for "administration -> repository, trash, permissions" More...
 
 deleteObject ($a_error=false)
 Display deletion confirmation screen. More...
 
 cloneAllObject ()
 Clone single (not container object) Method is overwritten in ilContainerGUI. More...
 
 redirectAfterCreation ()
 Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html. More...
 
 addToDeskObject ()
 @inheritDoc More...
 
 removeFromDeskObject ()
 @inheritDoc More...
 

Data Fields

const FORM_MODE_EDIT = 1
 
const FORM_MODE_CREATE = 2
 
 $type
 
 $rolf_ref_id
 
- Data Fields inherited from ilObjectGUI
const COPY_WIZARD_NEEDS_PAGE = 1
 
 $objDefinition
 
 $tpl
 
 $tree
 
 $lng
 
 $data
 
 $object
 
 $ref_id
 
 $obj_id
 
 $maxcount
 
 $formaction
 
 $return_location
 
 $target_frame
 
 $tab_target_script
 
 $actions
 
 $sub_objects
 
 $omit_locator = false
 
const CFORM_NEW = 1
 
const CFORM_IMPORT = 2
 
const CFORM_CLONE = 3
 

Protected Member Functions

 initFormRoleTemplate ($a_mode=self::FORM_MODE_CREATE)
 Init create form. More...
 
 getTabs ()
 get tabs abstract method.@abstract overwrite in derived GUI class of your object type @access public

Parameters
objectinstance of ilTabsGUI
More...
 
 addAdminLocatorItems ($a_do_not_add_object=false)
 should be overwritten to add object specific items (repository items are preloaded)
Parameters
bool$a_do_not_add_object
More...
 
- Protected Member Functions inherited from ilObjectGUI
 getObjectService ()
 Get object service. More...
 
 assignObject ()
 
 setTitleAndDescription ()
 called by prepare output More...
 
 initHeaderAction ($a_sub_type=null, $a_sub_id=null)
 Add header action menu. More...
 
 insertHeaderAction ($a_list_gui)
 Insert header action into main template. More...
 
 addHeaderAction ()
 Add header action menu. More...
 
 redrawHeaderActionObject ()
 Ajax call: redraw action header only. More...
 
 setTabs ()
 set admin tabs @access public More...
 
 setAdminTabs ()
 set admin tabs @access public More...
 
 setLocator ()
 set Locator More...
 
 addLocatorItems ()
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 omitLocator ($a_omit=true)
 
 addAdminLocatorItems ($a_do_not_add_object=false)
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 initCreationForms ($a_new_type)
 Init creation froms. More...
 
 getCreationFormsHTML (array $a_forms)
 Get HTML for creation forms (accordion) More...
 
 initCreateForm ($a_new_type)
 Init object creation form. More...
 
 initDidacticTemplate (ilPropertyFormGUI $form)
 Show didactic template types. More...
 
 addDidacticTemplateOptions (array &$a_options)
 Add custom templates. More...
 
 afterSave (ilObject $a_new_object)
 Post (successful) object creation hook. More...
 
 initEditForm ()
 Init object edit form. More...
 
 initEditCustomForm (ilPropertyFormGUI $a_form)
 Add custom fields to update form. More...
 
 getEditFormValues ()
 Get values for edit form. More...
 
 getEditFormCustomValues (array &$a_values)
 Add values to custom edit fields. More...
 
 validateCustom (ilPropertyFormGUI $a_form)
 Validate custom values (if not possible with checkInput()) More...
 
 updateCustom (ilPropertyFormGUI $a_form)
 Insert custom update form values into object. More...
 
 afterUpdate ()
 Post (successful) object update hook. More...
 
 initImportForm ($a_new_type)
 Init object import form. More...
 
 importFileObject ($parent_id=null, $a_catch_errors=true)
 Import. More...
 
 afterImport (ilObject $a_new_object)
 Post (successful) object import hook. More...
 
 setFormAction ($a_cmd, $a_formaction)
 set specific form action for command More...
 
 getReturnLocation ($a_cmd, $a_location="")
 get return location for command (command is method name without "Object", e.g. More...
 
 setReturnLocation ($a_cmd, $a_location)
 set specific return location for command More...
 
 getTargetFrame ($a_cmd, $a_target_frame="")
 get target frame for command (command is method name without "Object", e.g. More...
 
 setTargetFrame ($a_cmd, $a_target_frame)
 set specific target frame for command More...
 
 showPossibleSubObjects ()
 show possible subobjects (pulldown menu) More...
 
 getTemplateFile ($a_cmd, $a_type="")
 get a template blockfile format: tpl. More...
 
 getTabs ()
 get tabs abstract method. More...
 
 __showButton ($a_cmd, $a_text, $a_target='')
 
 hitsperpageObject ()
 
__initTableGUI ()
 
 __setTableGUIBasicData (&$tbl, &$result_set, $a_from="")
 standard implementation for tables use 'from' variable use different initial setting of table More...
 
 redirectToRefId ($a_ref_id, $a_cmd="")
 redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current $_GET["ref_id"] value More...
 
 fillCloneTemplate ($a_tpl_varname, $a_type)
 Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. More...
 
 getCenterColumnHTML ()
 Get center column. More...
 
 getRightColumnHTML ()
 Display right column. More...
 
 setColumnSettings (ilColumnGUI $column_gui)
 May be overwritten in subclasses. More...
 
 checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
 Check permission and redirect on error. More...
 
 checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
 Check permission. More...
 
 enableDragDropFileUpload ()
 Enables the file upload into this object by dropping files. More...
 
 handleAutoRating (ilObject $a_new_obj)
 Activate rating automatically if parent container setting. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ilObjectGUI
static _gotoRepositoryRoot ($a_raise_error=false)
 Goto repository root. More...
 
static _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset")
 Goto repository root. More...
 
- Protected Attributes inherited from ilObjectGUI
 $ilErr
 
 $locator
 
 $user
 
 $access
 
 $rbacsystem
 
 $settings
 
 $rbacreview
 
 $toolbar
 
 $tmp_import_dir
 
 $tabs_gui = null
 
 $ctrl
 
 $object_service
 
 $favourites
 

Detailed Description

Class ilObjRoleTemplateGUI.

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
$Id$

@ilCtrl_Calls ilObjRoleTemplateGUI:

Definition at line 18 of file class.ilObjRoleTemplateGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilObjRoleTemplateGUI::__construct (   $a_data,
  $a_id,
  $a_call_by_reference 
)

Constructor.

@access public

Definition at line 41 of file class.ilObjRoleTemplateGUI.php.

42 {
43 global $DIC;
44
45 $lng = $DIC['lng'];
46
47 $lng->loadLanguageModule('rbac');
48
49 $this->type = "rolt";
50 parent::__construct($a_data, $a_id, $a_call_by_reference, false);
51 $this->rolf_ref_id = &$this->ref_id;
52 $this->ctrl->saveParameter($this, "obj_id");
53 }
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
$DIC
Definition: xapitoken.php:46

References $DIC, ilObjectGUI\$lng, ilObjectGUI\$ref_id, and ILIAS\GlobalScreen\Provider\__construct().

+ Here is the call graph for this function:

Member Function Documentation

◆ addAdminLocatorItems()

ilObjRoleTemplateGUI::addAdminLocatorItems (   $a_do_not_add_object = false)
protected

should be overwritten to add object specific items (repository items are preloaded)

Parameters
bool$a_do_not_add_object

Reimplemented from ilObjectGUI.

Definition at line 486 of file class.ilObjRoleTemplateGUI.php.

487 {
488 global $DIC;
489
490 $ilLocator = $DIC['ilLocator'];
491
492 parent::addAdminLocatorItems(true);
493
494 $ilLocator->addItem(
497 ),
498 $this->ctrl->getLinkTargetByClass("ilobjrolefoldergui", "view")
499 );
500 }
$_GET["client_id"]
static _lookupObjId($a_id)
static _lookupTitle($a_id)
lookup object title

References $_GET, $DIC, ilObject\_lookupObjId(), and ilObject\_lookupTitle().

+ Here is the call graph for this function:

◆ adoptPermSaveObject()

ilObjRoleTemplateGUI::adoptPermSaveObject ( )

adopting permission setting from other roles/role templates

@access public

Definition at line 406 of file class.ilObjRoleTemplateGUI.php.

407 {
408 global $DIC;
409
410 $rbacadmin = $DIC['rbacadmin'];
411 $rbacsystem = $DIC['rbacsystem'];
412 $rbacreview = $DIC['rbacreview'];
413
414 if (!$rbacsystem->checkAccess('write', $this->rolf_ref_id)) {
415 $this->ilias->raiseError($this->lng->txt("msg_no_perm_perm"), $this->ilias->error_obj->WARNING);
416 } elseif ($this->obj_id == $_POST["adopt"]) {
417 ilUtil::sendFailure($this->lng->txt("msg_perm_adopted_from_itself"), true);
418 } else {
419 $rbacadmin->deleteRolePermission($this->obj_id, $this->rolf_ref_id);
420 $parentRoles = $rbacreview->getParentRoleIds($this->rolf_ref_id, true);
421 $rbacadmin->copyRoleTemplatePermissions(
422 $_POST["adopt"],
423 $parentRoles[$_POST["adopt"]]["parent"],
424 $this->rolf_ref_id,
425 $this->obj_id
426 );
427 // update object data entry (to update last modification date)
428 $this->object->update();
429
430 // send info
431 $obj_data = &$this->ilias->obj_factory->getInstanceByObjId($_POST["adopt"]);
432 ilUtil::sendSuccess($this->lng->txt("msg_perm_adopted_from1") . " '" . $obj_data->getTitle() . "'.<br/>" . $this->lng->txt("msg_perm_adopted_from2"), true);
433 }
434
435 $this->ctrl->redirect($this, "perm");
436 }
$_POST["username"]
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
redirection script todo: (a better solution should control the processing via a xml file)

References $_POST, $DIC, ilObjectGUI\$rbacreview, ilObjectGUI\$rbacsystem, and ilUtil\sendFailure().

+ Here is the call graph for this function:

◆ cancelObject()

ilObjRoleTemplateGUI::cancelObject ( )

cancelObject is called when an operation is canceled, method links back @access public

Reimplemented from ilObjectGUI.

Definition at line 476 of file class.ilObjRoleTemplateGUI.php.

477 {
478 $this->ctrl->redirectByClass("ilobjrolefoldergui", "view");
479 }

◆ createObject()

ilObjRoleTemplateGUI::createObject ( ilPropertyFormGUI  $form = null)

create new role definition template

@access public

Definition at line 149 of file class.ilObjRoleTemplateGUI.php.

150 {
151 global $DIC;
152
153 $rbacsystem = $DIC['rbacsystem'];
154
155 if (!$rbacsystem->checkAccess("create_rolt", $this->rolf_ref_id)) {
156 $this->ilias->raiseError($this->lng->txt("permission_denied"), $this->ilias->error_obj->MESSAGE);
157 }
158 if (!$form) {
159 $form = $this->initFormRoleTemplate(self::FORM_MODE_CREATE);
160 }
161 $this->tpl->setContent($form->getHTML());
162 return true;
163 }
initFormRoleTemplate($a_mode=self::FORM_MODE_CREATE)
Init create form.

References $DIC, ilObjectGUI\$rbacsystem, and initFormRoleTemplate().

+ Here is the call graph for this function:

◆ editObject()

ilObjRoleTemplateGUI::editObject ( ilPropertyFormGUI  $form = null)

Create new object.

Definition at line 168 of file class.ilObjRoleTemplateGUI.php.

169 {
170 global $DIC;
171
172 $rbacsystem = $DIC['rbacsystem'];
173
174 $this->tabs_gui->activateTab('settings');
175
176 if (!$rbacsystem->checkAccess("write", $this->rolf_ref_id)) {
177 $this->ilias->raiseError($this->lng->txt("msg_no_perm_write"), $this->ilias->error_obj->MESSAGE);
178 }
179
180 if (!$form) {
181 $form = $this->initFormRoleTemplate(self::FORM_MODE_EDIT);
182 }
183 $GLOBALS['DIC']['tpl']->setContent($form->getHTML());
184 }
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Definition: PEAR.php:64

References $DIC, $GLOBALS, ilObjectGUI\$rbacsystem, and initFormRoleTemplate().

+ Here is the call graph for this function:

◆ executeCommand()

ilObjRoleTemplateGUI::executeCommand ( )

execute command

Reimplemented from ilObjectGUI.

Definition at line 55 of file class.ilObjRoleTemplateGUI.php.

56 {
57 global $DIC;
58
59 $rbacsystem = $DIC['rbacsystem'];
60
61 $this->prepareOutput();
62
63 $next_class = $this->ctrl->getNextClass($this);
64 $cmd = $this->ctrl->getCmd();
65
66 switch ($next_class) {
67 default:
68 if (!$cmd) {
69 $cmd = "perm";
70 }
71 $cmd .= "Object";
72 $this->$cmd();
73
74 break;
75 }
76
77 return true;
78 }
prepareOutput($a_show_subobjects=true)
prepare output

References $DIC, ilObjectGUI\$rbacsystem, and ilObjectGUI\prepareOutput().

+ Here is the call graph for this function:

◆ getAdminTabs()

ilObjRoleTemplateGUI::getAdminTabs ( )

admin and normal tabs are equal for roles

Reimplemented from ilObjectGUI.

Definition at line 441 of file class.ilObjRoleTemplateGUI.php.

442 {
443 $this->getTabs();
444 }
getTabs()
get tabs abstract method.@abstract overwrite in derived GUI class of your object type @access public

References getTabs().

+ Here is the call graph for this function:

◆ getTabs()

ilObjRoleTemplateGUI::getTabs ( )
protected

get tabs abstract method.@abstract overwrite in derived GUI class of your object type @access public

Parameters
objectinstance of ilTabsGUI

Reimplemented from ilObjectGUI.

Definition at line 449 of file class.ilObjRoleTemplateGUI.php.

450 {
451 global $DIC;
452
453 $rbacsystem = $DIC->rbac()->system();
454 $this->tabs_gui->setBackTarget($this->lng->txt('btn_back'), $this->ctrl->getParentReturn($this));
455
456 if ($rbacsystem->checkAccess('write', $this->ref_id)) {
457 $this->tabs_gui->addTab(
458 'settings',
459 $this->lng->txt('settings'),
460 $this->ctrl->getLinkTarget($this, 'edit')
461 );
462 }
463 if ($rbacsystem->checkAccess('edit_permission', $this->ref_id)) {
464 $this->tabs_gui->addTab(
465 'perm',
466 $this->lng->txt('default_perm_settings'),
467 $this->ctrl->getLinkTarget($this, 'perm')
468 );
469 }
470 }

References $DIC, and ilObjectGUI\$rbacsystem.

Referenced by getAdminTabs().

+ Here is the caller graph for this function:

◆ initFormRoleTemplate()

ilObjRoleTemplateGUI::initFormRoleTemplate (   $a_mode = self::FORM_MODE_CREATE)
protected

Init create form.

Parameters
boolcreation mode
Returns
ilPropertyFormGUI $form

Definition at line 85 of file class.ilObjRoleTemplateGUI.php.

86 {
87 include_once './Services/Form/classes/class.ilPropertyFormGUI.php';
88 $form = new ilPropertyFormGUI();
89
90 if ($this->creation_mode) {
91 $this->ctrl->setParameter($this, "new_type", 'rolt');
92 }
93
94 $form->setFormAction($this->ctrl->getFormAction($this));
95
96 if ($a_mode == self::FORM_MODE_CREATE) {
97 $form->setTitle($this->lng->txt('rolt_new'));
98 $form->addCommandButton('save', $this->lng->txt('rolt_new'));
99 } else {
100 $form->setTitle($this->lng->txt('rolt_edit'));
101 $form->addCommandButton('update', $this->lng->txt('save'));
102 }
103 $form->addCommandButton('cancel', $this->lng->txt('cancel'));
104
105 $title = new ilTextInputGUI($this->lng->txt('title'), 'title');
106 if ($a_mode != self::FORM_MODE_CREATE) {
107 if ($this->object->isInternalTemplate()) {
108 $title->setDisabled(true);
109 }
110 $title->setValue(ilObjRole::_getTranslation($this->object->getTitle()));
111 }
112 $title->setSize(40);
113 $title->setMaxLength(70);
114 $title->setRequired(true);
115 $form->addItem($title);
116
117 $desc = new ilTextAreaInputGUI($this->lng->txt('description'), 'desc');
118
119 if ($a_mode != self::FORM_MODE_CREATE) {
120 $desc->setValue($this->object->getDescription());
121 }
122 $desc->setCols(40);
123 $desc->setRows(3);
124 $form->addItem($desc);
125
126 if ($a_mode != self::FORM_MODE_CREATE) {
127 $ilias_id = new ilNonEditableValueGUI($this->lng->txt("ilias_id"), "ilias_id");
128 $ilias_id->setValue('il_' . IL_INST_ID . '_' . ilObject::_lookupType($this->object->getId()) . '_' . $this->object->getId());
129 $form->addItem($ilias_id);
130 }
131
132 $pro = new ilCheckboxInputGUI($this->lng->txt('role_protect_permissions'), 'protected');
133 $pro->setChecked($GLOBALS['DIC']['rbacreview']->isProtected(
134 $this->rolf_ref_id,
135 $this->object->getId()
136 ));
137 $pro->setValue(1);
138 $form->addItem($pro);
139
140 return $form;
141 }
This class represents a checkbox property in a property form.
This class represents a non editable value in a property form.
static _getTranslation($a_role_title)
static _lookupType($a_id, $a_reference=false)
lookup object type
This class represents a property form user interface.
This class represents a text area property in a property form.
This class represents a text property in a property form.

References $GLOBALS, ilObjRole\_getTranslation(), and ilObject\_lookupType().

Referenced by createObject(), editObject(), saveObject(), and updateObject().

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

◆ saveObject()

ilObjRoleTemplateGUI::saveObject ( )

save a new role template object

@access public

Reimplemented from ilObjectGUI.

Definition at line 231 of file class.ilObjRoleTemplateGUI.php.

232 {
233 global $DIC;
234
235 $rbacsystem = $DIC['rbacsystem'];
236 $rbacadmin = $DIC['rbacadmin'];
237 $rbacreview = $DIC['rbacreview'];
238
239 if (!$rbacsystem->checkAccess("create_rolt", $this->rolf_ref_id)) {
240 $this->ilias->raiseError($this->lng->txt("msg_no_perm_create_rolt"), $this->ilias->error_obj->WARNING);
241 }
242 $form = $this->initFormRoleTemplate();
243 if ($form->checkInput()) {
244 include_once("./Services/AccessControl/classes/class.ilObjRoleTemplate.php");
245 $roltObj = new ilObjRoleTemplate();
246 $roltObj->setTitle($form->getInput('title'));
247 $roltObj->setDescription($form->getInput('desc'));
248 $roltObj->create();
249 $rbacadmin->assignRoleToFolder($roltObj->getId(), $this->rolf_ref_id, 'n');
250 $rbacadmin->setProtected(
251 $this->rolf_ref_id,
252 $roltObj->getId(),
253 $form->getInput('protected') ? 'y' : 'n'
254 );
255
256 ilUtil::sendSuccess($this->lng->txt("rolt_added"), true);
257 // redirect to permission screen
258 $this->ctrl->setParameter($this, 'obj_id', $roltObj->getId());
259 $this->ctrl->redirect($this, 'perm');
260 }
261 $form->setValuesByPost();
262 $this->createObject($form);
263 }
Class ilObjRoleTemplate.
createObject()
create new object form

References $DIC, ilObjectGUI\$rbacreview, ilObjectGUI\$rbacsystem, ilObjectGUI\createObject(), and initFormRoleTemplate().

+ Here is the call graph for this function:

◆ updateObject()

ilObjRoleTemplateGUI::updateObject ( )

update role template object

@access public

Reimplemented from ilObjectGUI.

Definition at line 191 of file class.ilObjRoleTemplateGUI.php.

192 {
193 global $DIC;
194
195 $rbacsystem = $DIC['rbacsystem'];
196 $rbacadmin = $DIC['rbacadmin'];
197 $rbacreview = $DIC['rbacreview'];
198
199 // check write access
200 if (!$rbacsystem->checkAccess("write", $this->rolf_ref_id)) {
201 $this->ilias->raiseError($this->lng->txt("msg_no_perm_modify_rolt"), $this->ilias->error_obj->WARNING);
202 }
203
204 $form = $this->initFormRoleTemplate(self::FORM_MODE_EDIT);
205 if ($form->checkInput()) {
206 if (!$this->object->isInternalTemplate()) {
207 $this->object->setTitle($form->getInput('title'));
208 }
209 $this->object->setDescription($form->getInput('desc'));
210 $rbacadmin->setProtected(
211 $this->rolf_ref_id,
212 $this->object->getId(),
213 $form->getInput('protected') ? 'y' : 'n'
214 );
215 $this->object->update();
216 ilUtil::sendSuccess($this->lng->txt("saved_successfully"), true);
217 $this->ctrl->returnToParent($this);
218 }
219
220 $form->setValuesByPost();
221 $this->editObject($form);
222 }
editObject()
edit object

References $DIC, ilObjectGUI\$rbacreview, ilObjectGUI\$rbacsystem, ilObjectGUI\editObject(), and initFormRoleTemplate().

+ Here is the call graph for this function:

Field Documentation

◆ $rolf_ref_id

ilObjRoleTemplateGUI::$rolf_ref_id

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

◆ $type

ilObjRoleTemplateGUI::$type

Definition at line 28 of file class.ilObjRoleTemplateGUI.php.

◆ FORM_MODE_CREATE

const ilObjRoleTemplateGUI::FORM_MODE_CREATE = 2

Definition at line 21 of file class.ilObjRoleTemplateGUI.php.

◆ FORM_MODE_EDIT

const ilObjRoleTemplateGUI::FORM_MODE_EDIT = 1

Definition at line 20 of file class.ilObjRoleTemplateGUI.php.


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