ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 ()
 
 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 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 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 ()
 list childs of current object 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...
 

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 ()
 
 addAdminLocatorItems ($a_do_not_add_object=false)
 
- 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...
 
 showMountWebfolderIcon ()
 
 setTabs ()
 set admin tabs public More...
 
 setAdminTabs ()
 set admin tabs 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
 
 $settings
 
 $rbacreview
 
 $toolbar
 
 $tmp_import_dir
 
 $tabs_gui = null
 
 $ctrl
 
 $object_service
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

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

Constructor.

public

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

References $DIC, ilObjectGUI\$lng, and ilObjectGUI\$ref_id.

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  }
global $DIC
Definition: saml.php:7

Member Function Documentation

◆ addAdminLocatorItems()

ilObjRoleTemplateGUI::addAdminLocatorItems (   $a_do_not_add_object = false)
protected

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

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

485  {
486  global $DIC;
487 
488  $ilLocator = $DIC['ilLocator'];
489 
490  parent::addAdminLocatorItems(true);
491 
492  $ilLocator->addItem(
494  ilObject::_lookupObjId($_GET["ref_id"])
495  ),
496  $this->ctrl->getLinkTargetByClass("ilobjrolefoldergui", "view")
497  );
498  }
global $DIC
Definition: saml.php:7
$_GET["client_id"]
static _lookupTitle($a_id)
lookup object title
static _lookupObjId($a_id)
+ Here is the call graph for this function:

◆ adoptPermSaveObject()

ilObjRoleTemplateGUI::adoptPermSaveObject ( )

adopting permission setting from other roles/role templates

public

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

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

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

◆ cancelObject()

ilObjRoleTemplateGUI::cancelObject ( )

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

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

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

◆ createObject()

ilObjRoleTemplateGUI::createObject ( ilPropertyFormGUI  $form = null)

create new role definition template

public

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

References $DIC, $form, and initFormRoleTemplate().

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  }
global $DIC
Definition: saml.php:7
initFormRoleTemplate($a_mode=self::FORM_MODE_CREATE)
Init create form.
redirection script todo: (a better solution should control the processing via a xml file) ...
+ 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.

References $DIC, $form, $GLOBALS, and initFormRoleTemplate().

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  }
global $DIC
Definition: saml.php:7
initFormRoleTemplate($a_mode=self::FORM_MODE_CREATE)
Init create form.
redirection script todo: (a better solution should control the processing via a xml file) ...
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.
+ Here is the call graph for this function:

◆ executeCommand()

ilObjRoleTemplateGUI::executeCommand ( )

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

References $DIC, and ilObjectGUI\prepareOutput().

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  }
global $DIC
Definition: saml.php:7
prepareOutput($a_show_subobjects=true)
prepare output
+ Here is the call graph for this function:

◆ getAdminTabs()

ilObjRoleTemplateGUI::getAdminTabs ( )

admin and normal tabs are equal for roles

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

References getTabs().

440  {
441  $this->getTabs();
442  }
+ Here is the call graph for this function:

◆ getTabs()

ilObjRoleTemplateGUI::getTabs ( )
protected

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

References $DIC.

Referenced by getAdminTabs().

448  {
449  global $DIC;
450 
451  $rbacsystem = $DIC->rbac()->system();
452  $this->tabs_gui->setBackTarget($this->lng->txt('btn_back'), $this->ctrl->getParentReturn($this));
453 
454  if ($rbacsystem->checkAccess('write', $this->ref_id)) {
455  $this->tabs_gui->addTab(
456  'settings',
457  $this->lng->txt('settings'),
458  $this->ctrl->getLinkTarget($this, 'edit')
459  );
460  }
461  if ($rbacsystem->checkAccess('edit_permission', $this->ref_id)) {
462  $this->tabs_gui->addTab(
463  'perm',
464  $this->lng->txt('default_perm_settings'),
465  $this->ctrl->getLinkTarget($this, 'perm')
466  );
467  }
468  }
global $DIC
Definition: saml.php:7
+ 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.

References $form, $GLOBALS, $title, ilObject\_lookupType(), ilCheckboxInputGUI\setChecked(), ilNonEditableValueGUI\setValue(), and ilTextAreaInputGUI\setValue().

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

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($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 property form user interface.
setValue($a_value)
Set Value.
This class represents a checkbox property in a property form.
setChecked($a_checked)
Set Checked.
if(isset($_POST['submit'])) $form
This class represents a text property in a property form.
static _lookupType($a_id, $a_reference=false)
lookup object type
This class represents a non editable value in a property form.
This class represents a text area property in a property form.
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.
+ 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

public

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

References $_POST, $def, $DIC, $form, ilObjectGUI\$ilErr, $key, ilObjectGUI\$objDefinition, PHPMailer\PHPMailer\$options, ilObjectGUI\$rbacreview, ilObjectGUI\$ref_id, $rolf_ref_id, $tbl, ilObjectGUI\createObject(), ilAccordionGUI\FORCE_ALL_OPEN, and initFormRoleTemplate().

230  {
231  global $DIC;
232 
233  $rbacsystem = $DIC['rbacsystem'];
234  $rbacadmin = $DIC['rbacadmin'];
235  $rbacreview = $DIC['rbacreview'];
236 
237  if (!$rbacsystem->checkAccess("create_rolt", $this->rolf_ref_id)) {
238  $this->ilias->raiseError($this->lng->txt("msg_no_perm_create_rolt"), $this->ilias->error_obj->WARNING);
239  }
240  $form = $this->initFormRoleTemplate();
241  if ($form->checkInput()) {
242  include_once("./Services/AccessControl/classes/class.ilObjRoleTemplate.php");
243  $roltObj = new ilObjRoleTemplate();
244  $roltObj->setTitle($form->getInput('title'));
245  $roltObj->setDescription($form->getInput('desc'));
246  $roltObj->create();
247  $rbacadmin->assignRoleToFolder($roltObj->getId(), $this->rolf_ref_id, 'n');
248  $rbacadmin->setProtected(
249  $this->rolf_ref_id,
250  $roltObj->getId(),
251  $form->getInput('protected') ? 'y' : 'n'
252  );
253 
254  ilUtil::sendSuccess($this->lng->txt("rolt_added"), true);
255  // redirect to permission screen
256  $this->ctrl->setParameter($this, 'obj_id', $roltObj->getId());
257  $this->ctrl->redirect($this, 'perm');
258  }
259  $form->setValuesByPost();
260  $this->createObject($form);
261  }
Class ilObjRoleTemplate.
global $DIC
Definition: saml.php:7
createObject()
create new object form
if(isset($_POST['submit'])) $form
initFormRoleTemplate($a_mode=self::FORM_MODE_CREATE)
Init create form.
redirection script todo: (a better solution should control the processing via a xml file) ...
+ Here is the call graph for this function:

◆ updateObject()

ilObjRoleTemplateGUI::updateObject ( )

update role template object

public

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

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

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  $this->object->setTitle($form->getInput('title'));
207  $this->object->setDescription($form->getInput('desc'));
208  $rbacadmin->setProtected(
209  $this->rolf_ref_id,
210  $this->object->getId(),
211  $form->getInput('protected') ? 'y' : 'n'
212  );
213  $this->object->update();
214  ilUtil::sendSuccess($this->lng->txt("saved_successfully"), true);
215  $this->ctrl->returnToParent($this);
216  }
217 
218  $form->setValuesByPost();
219  $this->editObject($form);
220  }
global $DIC
Definition: saml.php:7
if(isset($_POST['submit'])) $form
initFormRoleTemplate($a_mode=self::FORM_MODE_CREATE)
Init create form.
redirection script todo: (a better solution should control the processing via a xml file) ...
editObject()
edit object
+ 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.

Referenced by saveObject().

◆ $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: