| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
Class ilObjRoleGUI. More...
 Inheritance diagram for ilObjRoleGUI:
 Inheritance diagram for ilObjRoleGUI: Collaboration diagram for ilObjRoleGUI:
 Collaboration diagram for ilObjRoleGUI:| Public Member Functions | |
| __construct ($a_data, $a_id, $a_call_by_reference=false, $a_prepare_output=true) | |
| Constructor  public. | |
| & | executeCommand () | 
| execute command | |
| getParentRefId () | |
| Get ref id of current object (not role folder id) | |
| getParentObjId () | |
| Get obj_id of current object. | |
| getParentType () | |
| get type of current object (not role folder) | |
| setBackTarget ($a_text, $a_link) | |
| set back tab target | |
| getBackTarget () | |
| getAdminTabs (&$tabs_gui) | |
| admin and normal tabs are equal for roles | |
| listDesktopItemsObject () | |
| askDeleteDesktopItemObject () | |
| deleteDesktopItemsObject () | |
| selectDesktopItemObject () | |
| assignDesktopItemObject () | |
| createObject () | |
| Only called from administration -> role folder ? Otherwise this check access is wrong. | |
| editObject () | |
| Edit role properties. | |
| saveObject () | |
| Save new role. | |
| updateObject () | |
| Save role settings. | |
| permSaveObject ($a_show_admin_permissions=false) | |
| save permissions | |
| adoptPermSaveObject () | |
| copy permissions from role | |
| assignSaveObject () | |
| wrapper for renamed function | |
| addUserObject ($a_user_ids) | |
| Assign user (callback from ilRepositorySearchGUI) | |
| deassignUserObject () | |
| de-assign users from role | |
| userassignmentObject () | |
| display user assignment panel | |
| cancelObject () | |
| cancelObject is called when an operation is canceled, method links back  public | |
| listUsersRoleObject () | |
| __formatPath ($a_path_arr) | |
| __prepareOutput () | |
| __setHeader () | |
| __setLocator () | |
| addAdminLocatorItems () | |
| should be overwritten to add object specific items (repository items are preloaded) | |
| getTabs (&$tabs_gui) | |
| get tabs abstract method. | |
| mailToRoleObject () | |
| checkAccess ($a_perm_global, $a_perm_obj= '') | |
|  Public Member Functions inherited from ilObjectGUI | |
| ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
| Constructor  public. | |
| withReferences () | |
| determines wether objects are referenced or not (got ref ids or not) | |
| 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 | |
| getCreationMode () | |
| get creation mode | |
| getHTML () | |
| confirmedDeleteObject () | |
| confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
| cancelDeleteObject () | |
| cancel deletion of object | |
| cancelObject ($in_rep=false) | |
| cancel action and go back to previous page  public | |
| cancelCreation () | |
| cancel create action and go back to repository parent | |
| getFormAction ($a_cmd, $a_formaction="") | |
| get form action for command (command is method name without "Object", e.g. | |
| isVisible ($a_ref_id, $a_type) | |
| viewObject () | |
| list childs of current object | |
| deleteObject ($a_error=false) | |
| Display deletion confirmation screen. | |
| cloneAllObject () | |
| Clone single (not container object) Method is overwritten in ilContainerGUI. | |
| Data Fields | |
| const | MODE_GLOBAL_UPDATE = 1 | 
| const | MODE_GLOBAL_CREATE = 2 | 
| const | MODE_LOCAL_UPDATE = 3 | 
| const | MODE_LOCAL_CREATE = 4 | 
| $type | |
| $rolf_ref_id | |
| $ctrl | |
|  Data Fields inherited from ilObjectGUI | |
| const | COPY_WIZARD_NEEDS_PAGE = 1 | 
| $ilias | |
| $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 | |
| getContainerType () | |
| Get type of role container. | |
| showDefaultPermissionSettings () | |
| check if default permissions are shown or not | |
| initFormRoleProperties ($a_mode) | |
| Create role prperty form. | |
| loadRoleProperties (ilObjRole $role) | |
| Store form input in role object. | |
| readRoleProperties (ilObjRole $role) | |
| Read role properties and write them to form. | |
| checkDuplicate ($a_role_id=0) | |
| Check if role with same name already exists in this folder. | |
| permObject ($a_show_admin_permissions=false) | |
| Show template permissions. | |
| adminPermObject () | |
| Show administration permissions. | |
| adminPermSaveObject () | |
| Save admin permissions. | |
| adoptPermObject () | |
| confirmDeleteRoleObject () | |
| Show delete confirmation screen. | |
| performDeleteRoleObject () | |
| Delete role. | |
| isChangeExistingObjectsConfirmationRequired () | |
| Check if a confirmation about further settings is required or not. | |
| showChangeExistingObjectsConfirmation () | |
| Show confirmation screen. | |
| changeExistingObjectsObject () | |
| Change existing objects. | |
| setSubTabs ($a_tab) | |
| Set sub tabs. | |
|  Protected Member Functions inherited from ilObjectGUI | |
| assignObject () | |
| prepareOutput () | |
| prepare output | |
| setTitleAndDescription () | |
| called by prepare output | |
| initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
| Add header action menu. | |
| insertHeaderAction ($a_list_gui) | |
| Insert header action into main template. | |
| addHeaderAction () | |
| Add header action menu. | |
| redrawHeaderActionObject () | |
| Ajax call: redraw action header only. | |
| showMountWebfolderIcon () | |
| setTabs () | |
| set admin tabs  public | |
| setAdminTabs () | |
| set admin tabs  public | |
| setLocator () | |
| set Locator | |
| addLocatorItems () | |
| should be overwritten to add object specific items (repository items are preloaded) | |
| omitLocator ($a_omit=true) | |
| addAdminLocatorItems ($a_do_not_add_object=false) | |
| should be overwritten to add object specific items (repository items are preloaded) | |
| initCreationForms ($a_new_type) | |
| Init creation froms. | |
| getCreationFormsHTML (array $a_forms) | |
| Get HTML for creation forms (accordion) | |
| initCreateForm ($a_new_type) | |
| Init object creation form. | |
| initDidacticTemplate (ilPropertyFormGUI $form) | |
| Show didactic template types. | |
| addDidacticTemplateOptions (array &$a_options) | |
| Add custom templates. | |
| getDidacticTemplateVar ($a_type) | |
| Get didactic template setting from creation screen. | |
| putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
| Add object to tree at given position. | |
| afterSave (ilObject $a_new_object) | |
| Post (successful) object creation hook. | |
| initEditForm () | |
| Init object edit form. | |
| initEditCustomForm (ilPropertyFormGUI $a_form) | |
| Add custom fields to update form. | |
| getEditFormValues () | |
| Get values for edit form. | |
| getEditFormCustomValues (array &$a_values) | |
| Add values to custom edit fields. | |
| updateCustom (ilPropertyFormGUI $a_form) | |
| Insert custom update form values into object. | |
| afterUpdate () | |
| Post (successful) object update hook. | |
| initImportForm ($a_new_type) | |
| Init object import form. | |
| importFileObject ($parent_id=null) | |
| Import. | |
| afterImport (ilObject $a_new_object) | |
| Post (successful) object import hook. | |
| setFormAction ($a_cmd, $a_formaction) | |
| set specific form action for command | |
| getReturnLocation ($a_cmd, $a_location="") | |
| get return location for command (command is method name without "Object", e.g. | |
| setReturnLocation ($a_cmd, $a_location) | |
| set specific return location for command | |
| getTargetFrame ($a_cmd, $a_target_frame="") | |
| get target frame for command (command is method name without "Object", e.g. | |
| setTargetFrame ($a_cmd, $a_target_frame) | |
| set specific target frame for command | |
| showPossibleSubObjects () | |
| show possible subobjects (pulldown menu) | |
| getTemplateFile ($a_cmd, $a_type="") | |
| get a template blockfile format: tpl. | |
| getTitlesByRefId ($a_ref_ids) | |
| get Titles of objects this method is used for error messages in methods cut/copy/paste | |
| __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 | |
| 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 | |
| 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. | |
| getCenterColumnHTML () | |
| Get center column. | |
| getRightColumnHTML () | |
| Display right column. | |
| setColumnSettings ($column_gui) | |
| May be overwritten in subclasses. | |
| checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
| Check permission and redirect on error. | |
| checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
| Check permission. | |
| enableDragDropFileUpload () | |
| Enables the file upload into this object by dropping files. | |
| handleAutoRating (ilObject $a_new_obj) | |
| Activate rating automatically if parent container setting. | |
| Protected Attributes | |
| $obj_ref_id = 0 | |
| $obj_obj_id = 0 | |
| $obj_obj_type = '' | |
| $container_type = '' | |
| Additional Inherited Members | |
|  Static Public Member Functions inherited from ilObjectGUI | |
| static | _gotoRepositoryRoot ($a_raise_error=false) | 
| Goto repository root. | |
| static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") | 
| Goto repository root. | |
Class ilObjRoleGUI.
ilObjRoleGUI: ilRepositorySearchGUI, ilExportGUI
Definition at line 19 of file class.ilObjRoleGUI.php.
| ilObjRoleGUI::__construct | ( | $a_data, | |
| $a_id, | |||
| $a_call_by_reference = false, | |||
| $a_prepare_output = true | |||
| ) | 
Constructor public.
Definition at line 52 of file class.ilObjRoleGUI.php.
References $_GET, ilObjectGUI\$lng, ilObjectGUI\$tree, ilObject\_lookupObjId(), ilObject\_lookupType(), getParentObjId(), getParentRefId(), and ilObjectGUI\ilObjectGUI().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjRoleGUI::__formatPath | ( | $a_path_arr | ) | 
Definition at line 1474 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$data, and $path.
Referenced by listDesktopItemsObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjRoleGUI::__prepareOutput | ( | ) | 
Definition at line 1496 of file class.ilObjRoleGUI.php.
References __setHeader(), ilUtil\infoPanel(), and ilUtil\sendInfo().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjRoleGUI::__setHeader | ( | ) | 
Definition at line 1518 of file class.ilObjRoleGUI.php.
References ilUtil\getImagePath(), and getTabs().
Referenced by __prepareOutput().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjRoleGUI::__setLocator | ( | ) | 
Definition at line 1527 of file class.ilObjRoleGUI.php.
References $_GET, $ilCtrl, $row, and ilObjectGUI\$tree.
| ilObjRoleGUI::addAdminLocatorItems | ( | ) | 
should be overwritten to add object specific items (repository items are preloaded)
Definition at line 1578 of file class.ilObjRoleGUI.php.
References $_GET, and ilObject\_lookupObjId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjRoleGUI::addUserObject | ( | $a_user_ids | ) | 
Assign user (callback from ilRepositorySearchGUI)
| array | $a_user_ids | Array of user ids | 
Definition at line 1198 of file class.ilObjRoleGUI.php.
References $GLOBALS, $rolf_ref_id, checkAccess(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Show administration permissions.
Definition at line 841 of file class.ilObjRoleGUI.php.
References permObject().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Save admin permissions.
Definition at line 850 of file class.ilObjRoleGUI.php.
References permSaveObject().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Definition at line 855 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$tpl, ilObjRole\_getTranslation(), ilUtil\_sortIds(), and ilUtil\formRadioButton().
Referenced by adoptPermSaveObject().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjRoleGUI::adoptPermSaveObject | ( | ) | 
copy permissions from role
public
Definition at line 1137 of file class.ilObjRoleGUI.php.
References $_POST, $rolf_ref_id, ilObjectGUI\$tree, adoptPermObject(), checkAccess(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjRoleGUI::askDeleteDesktopItemObject | ( | ) | 
Definition at line 276 of file class.ilObjRoleGUI.php.
References $_POST, $_SESSION, checkAccess(), ilUtil\getImagePath(), ilObjectFactory\getInstanceByRefId(), ilRoleDesktopItem\getItem(), listDesktopItemsObject(), ilUtil\sendFailure(), ilUtil\sendQuestion(), ilUtil\switchColor(), and USER_FOLDER_ID.
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjRoleGUI::assignDesktopItemObject | ( | ) | 
Definition at line 411 of file class.ilObjRoleGUI.php.
References $_GET, ilObject\_lookupType(), ilRoleDesktopItem\add(), selectDesktopItemObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and USER_FOLDER_ID.
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjRoleGUI::assignSaveObject | ( | ) | 
wrapper for renamed function
public
Definition at line 1186 of file class.ilObjRoleGUI.php.
| ilObjRoleGUI::cancelObject | ( | ) | 
cancelObject is called when an operation is canceled, method links back public
Definition at line 1404 of file class.ilObjRoleGUI.php.
References $_GET.
| 
 | protected | 
Change existing objects.
Definition at line 1825 of file class.ilObjRoleGUI.php.
References $_POST, ilObjectGUI\$tree, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjRoleGUI::checkAccess | ( | $a_perm_global, | |
| $a_perm_obj = '' | |||
| ) | 
Definition at line 1708 of file class.ilObjRoleGUI.php.
Referenced by addUserObject(), adoptPermSaveObject(), askDeleteDesktopItemObject(), confirmDeleteRoleObject(), deassignUserObject(), deleteDesktopItemsObject(), editObject(), getTabs(), performDeleteRoleObject(), permObject(), permSaveObject(), and userassignmentObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Check if role with same name already exists in this folder.
Definition at line 654 of file class.ilObjRoleGUI.php.
Referenced by saveObject(), and updateObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Show delete confirmation screen.
Definition at line 924 of file class.ilObjRoleGUI.php.
References $ilErr, $ilUser, checkAccess(), ilUtil\getImagePath(), and ilUtil\sendQuestion().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjRoleGUI::createObject | ( | ) | 
Only called from administration -> role folder ? Otherwise this check access is wrong.
Reimplemented from ilObjectGUI.
Definition at line 588 of file class.ilObjRoleGUI.php.
References $ilErr, and initFormRoleProperties().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjRoleGUI::deassignUserObject | ( | ) | 
de-assign users from role
public
Definition at line 1250 of file class.ilObjRoleGUI.php.
References $_GET, $_POST, checkAccess(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjRoleGUI::deleteDesktopItemsObject | ( | ) | 
Definition at line 337 of file class.ilObjRoleGUI.php.
References $_SESSION, checkAccess(), ilRoleDesktopItem\delete(), listDesktopItemsObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and USER_FOLDER_ID.
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjRoleGUI::editObject | ( | ) | 
Edit role properties.
Reimplemented from ilObjectGUI.
Definition at line 605 of file class.ilObjRoleGUI.php.
References $ilErr, $ilSetting, checkAccess(), initFormRoleProperties(), and readRoleProperties().
 Here is the call graph for this function:
 Here is the call graph for this function:| & ilObjRoleGUI::executeCommand | ( | ) | 
execute command
Reimplemented from ilObjectGUI.
Definition at line 82 of file class.ilObjRoleGUI.php.
References $cmd, $ret, $rolf_ref_id, ilExportOptions\allocateExportId(), ilExportOptions\KEY_ROOT, ilExportOptions\newInstance(), ilObjectGUI\prepareOutput(), and showDefaultPermissionSettings().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjRoleGUI::getAdminTabs | ( | & | $tabs_gui | ) | 
admin and normal tabs are equal for roles
Reimplemented from ilObjectGUI.
Definition at line 184 of file class.ilObjRoleGUI.php.
References getTabs().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjRoleGUI::getBackTarget | ( | ) | 
Definition at line 176 of file class.ilObjRoleGUI.php.
| 
 | protected | 
Get type of role container.
Definition at line 193 of file class.ilObjRoleGUI.php.
References $container_type.
Referenced by showDefaultPermissionSettings().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjRoleGUI::getParentObjId | ( | ) | 
Get obj_id of current object.
Definition at line 153 of file class.ilObjRoleGUI.php.
References $obj_obj_id.
Referenced by __construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjRoleGUI::getParentRefId | ( | ) | 
Get ref id of current object (not role folder id)
Definition at line 144 of file class.ilObjRoleGUI.php.
References $obj_ref_id.
Referenced by __construct(), and permObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjRoleGUI::getParentType | ( | ) | 
get type of current object (not role folder)
Definition at line 162 of file class.ilObjRoleGUI.php.
References $obj_obj_type.
Referenced by permObject(), and permSaveObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjRoleGUI::getTabs | ( | & | $tabs_gui | ) | 
get tabs abstract method.
overwrite in derived GUI class of your object type public
| object | instance of ilTabsGUI | 
Reimplemented from ilObjectGUI.
Definition at line 1606 of file class.ilObjRoleGUI.php.
References $_GET, checkAccess(), and showDefaultPermissionSettings().
Referenced by __setHeader(), and getAdminTabs().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Create role prperty form.
| int | $a_mode | 
Definition at line 446 of file class.ilObjRoleGUI.php.
References ilDiskQuotaActivationChecker\_isActive(), ilDiskQuotaActivationChecker\_isPersonalWorkspaceActive(), ilObjRole\isAutoGenerated(), ilFormPropertyGUI\setDisabled(), ilNumberInputGUI\setMinValue(), and ilCheckboxInputGUI\setValue().
Referenced by createObject(), editObject(), saveObject(), and updateObject().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Check if a confirmation about further settings is required or not.
Definition at line 1728 of file class.ilObjRoleGUI.php.
References $_POST.
Referenced by permSaveObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjRoleGUI::listDesktopItemsObject | ( | ) | 
Definition at line 210 of file class.ilObjRoleGUI.php.
References $rolf_ref_id, ilObjectGUI\$tree, __formatPath(), ilObjectGUI\__showButton(), ilUtil\getImagePath(), ilObjectFactory\getInstanceByRefId(), ilUtil\sendInfo(), ilUtil\switchColor(), and USER_FOLDER_ID.
Referenced by askDeleteDesktopItemObject(), deleteDesktopItemsObject(), and selectDesktopItemObject().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjRoleGUI::listUsersRoleObject | ( | ) | 
Definition at line 1417 of file class.ilObjRoleGUI.php.
References $_POST, $_SESSION, ilObjectGUI\__showButton(), ilUtil\formCheckbox(), ilObjectFactory\getInstanceByObjId(), and ilUtil\sendFailure().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Store form input in role object.
| object | $role | 
Definition at line 541 of file class.ilObjRoleGUI.php.
References ilFormat\_getSizeMagnitude(), ilObjRole\setAllowRegister(), ilObject\setDescription(), ilObjRole\setDiskQuota(), ilObjRole\setPersonalWorkspaceDiskQuota(), ilObject\setTitle(), and ilObjRole\toggleAssignUsersStatus().
Referenced by saveObject(), and updateObject().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjRoleGUI::mailToRoleObject | ( | ) | 
Definition at line 1689 of file class.ilObjRoleGUI.php.
References $_SESSION, ilObject\_getIdsForTitle(), ilMailFormCall\getRedirectTarget(), and ilUtil\redirect().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Delete role.
Definition at line 965 of file class.ilObjRoleGUI.php.
References $_GET, $ilErr, checkAccess(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Show template permissions.
Definition at line 693 of file class.ilObjRoleGUI.php.
References $ilErr, ilObjectGUI\$objDefinition, $options, $rolf_ref_id, checkAccess(), ilAccordionGUI\FORCE_ALL_OPEN, getParentRefId(), getParentType(), ilPlugin\lookupTxt(), ilObjectRoleTemplatePermissionTableGUI\parse(), setSubTabs(), and ilUtil\sortArray().
Referenced by adminPermObject().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjRoleGUI::permSaveObject | ( | $a_show_admin_permissions = false | ) | 
save permissions
public
Definition at line 987 of file class.ilObjRoleGUI.php.
References $_POST, ilObjectGUI\$objDefinition, $rolf_ref_id, ilObjectGUI\$tree, ilRbacLog\add(), checkAccess(), ilRbacLog\diffTemplate(), ilRbacLog\EDIT_TEMPLATE, ilRbacLog\gatherTemplate(), getParentType(), ilRbacLog\isActive(), isChangeExistingObjectsConfirmationRequired(), ilObjRole\MODE_PROTECTED_KEEP_LOCAL_POLICIES, ilObjRole\MODE_UNPROTECTED_KEEP_LOCAL_POLICIES, ilUtil\sendSuccess(), showChangeExistingObjectsConfirmation(), and ilUtil\tf2yn().
Referenced by adminPermSaveObject().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Read role properties and write them to form.
| object | $role | 
Definition at line 557 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$data, ilFormat\_getSizeMagnitude(), ilDiskQuotaActivationChecker\_isActive(), ilDiskQuotaActivationChecker\_isPersonalWorkspaceActive(), ilObjRole\getAllowRegister(), ilObjRole\getAssignUsersStatus(), ilObject\getDescription(), ilObjRole\getDiskQuota(), ilObject\getId(), ilObjRole\getPersonalWorkspaceDiskQuota(), and ilObject\getTitle().
Referenced by editObject().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjRoleGUI::saveObject | ( | ) | 
Save new role.
Reimplemented from ilObjectGUI.
Definition at line 623 of file class.ilObjRoleGUI.php.
References $rolf_ref_id, checkDuplicate(), initFormRoleProperties(), loadRoleProperties(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjRoleGUI::selectDesktopItemObject | ( | ) | 
Definition at line 377 of file class.ilObjRoleGUI.php.
References $_GET, ilObjectGUI\$tree, ilObjectGUI\__showButton(), listDesktopItemsObject(), ilUtil\sendFailure(), ilUtil\sendInfo(), and USER_FOLDER_ID.
Referenced by assignDesktopItemObject().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjRoleGUI::setBackTarget | ( | $a_text, | |
| $a_link | |||
| ) | 
set back tab target
Definition at line 170 of file class.ilObjRoleGUI.php.
| 
 | protected | 
Set sub tabs.
| object | $a_tab | 
Definition at line 1842 of file class.ilObjRoleGUI.php.
Referenced by permObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Show confirmation screen.
Definition at line 1756 of file class.ilObjRoleGUI.php.
References $_POST, ilObjRole\MODE_PROTECTED_DELETE_LOCAL_POLICIES, ilObjRole\MODE_PROTECTED_KEEP_LOCAL_POLICIES, ilObjRole\MODE_UNPROTECTED_DELETE_LOCAL_POLICIES, ilObjRole\MODE_UNPROTECTED_KEEP_LOCAL_POLICIES, ilRadioGroupInputGUI\setValue(), and ilRadioOption\setValue().
Referenced by permSaveObject().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
check if default permissions are shown or not
Definition at line 202 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$objDefinition, and getContainerType().
Referenced by executeCommand(), and getTabs().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjRoleGUI::updateObject | ( | ) | 
Save role settings.
Reimplemented from ilObjectGUI.
Definition at line 664 of file class.ilObjRoleGUI.php.
References checkDuplicate(), initFormRoleProperties(), loadRoleProperties(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjRoleGUI::userassignmentObject | ( | ) | 
display user assignment panel
Definition at line 1321 of file class.ilObjRoleGUI.php.
References $ilUser, ilObjectGUI\$lng, ilSecuritySettings\_getInstance(), checkAccess(), and ilRepositorySearchGUI\fillAutoCompleteToolbar().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Definition at line 43 of file class.ilObjRoleGUI.php.
Referenced by getContainerType().
| ilObjRoleGUI::$ctrl | 
Definition at line 46 of file class.ilObjRoleGUI.php.
| 
 | protected | 
Definition at line 41 of file class.ilObjRoleGUI.php.
Referenced by getParentObjId().
| 
 | protected | 
Definition at line 42 of file class.ilObjRoleGUI.php.
Referenced by getParentType().
| 
 | protected | 
Definition at line 40 of file class.ilObjRoleGUI.php.
Referenced by getParentRefId().
| ilObjRoleGUI::$rolf_ref_id | 
Definition at line 38 of file class.ilObjRoleGUI.php.
Referenced by addUserObject(), adoptPermSaveObject(), executeCommand(), listDesktopItemsObject(), permObject(), permSaveObject(), and saveObject().
| ilObjRoleGUI::$type | 
Definition at line 31 of file class.ilObjRoleGUI.php.
| const ilObjRoleGUI::MODE_GLOBAL_CREATE = 2 | 
Definition at line 22 of file class.ilObjRoleGUI.php.
| const ilObjRoleGUI::MODE_GLOBAL_UPDATE = 1 | 
Definition at line 21 of file class.ilObjRoleGUI.php.
| const ilObjRoleGUI::MODE_LOCAL_CREATE = 4 | 
Definition at line 24 of file class.ilObjRoleGUI.php.
| const ilObjRoleGUI::MODE_LOCAL_UPDATE = 3 | 
Definition at line 23 of file class.ilObjRoleGUI.php.