| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
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. | |
| editObject2 () | |
| edit object | |
| saveObject () | |
| Save new role. | |
| updateObject () | |
| Save role settings. | |
| perm2Object () | |
| display permission settings template | |
| permSaveObject ($a_show_admin_permissions=false) | |
| save permissions | |
| adoptPermSaveObject () | |
| copy permissions from role | |
| assignSaveObject () | |
| wrapper for renamed function | |
| assignUserObject () | |
| Maybe deprecated, since search is done by ilRepositorySearchGUI and addUserObject assign users to role. | |
| addUserObject ($a_user_ids) | |
| Assign user (callback from ilRepositorySearchGUI) | |
| deassignUserObject () | |
| de-assign users from role | |
| updateObject2 () | |
| update role object | |
| userassignmentObject () | |
| display user assignment panel | |
| __showAssignedUsersTable ($a_result_set, $a_user_ids=NULL) | |
| & | __initTableGUI () | 
| __setTableGUIBasicData (&$tbl, &$result_set, $from="") | |
| standard implementation for tables use 'from' variable use different initial setting of table | |
| searchUserFormObject () | |
| __unsetSessionVariables () | |
| cancelObject () | |
| cancelObject is called when an operation is canceled, method links back  public | |
| searchObject () | |
| __search ($a_search_string, $a_search_for) | |
| __showSearchUserTable ($a_result_set, $a_user_ids=NULL, $a_cmd="search") | |
| __showSearchRoleTable ($a_result_set, $a_role_ids=NULL) | |
| __showSearchGroupTable ($a_result_set, $a_grp_ids=NULL) | |
| listUsersRoleObject () | |
| listUsersGroupObject () | |
| __formatPath ($a_path_arr) | |
| __prepareOutput () | |
| __setHeader () | |
| __setLocator () | |
| addAdminLocatorItems () | |
| should be overwritten to add object specific items (repository items are preloaded) | |
| showUpperIcon () | |
| 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 () | |
| undeleteObject () | |
| Get objects back from trash. | |
| confirmedDeleteObject () | |
| confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
| cancelDeleteObject () | |
| cancel deletion of object | |
| removeFromSystemObject () | |
| remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
| cancelObject ($in_rep=false) | |
| cancel action and go back to previous page  public | |
| 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. | |
| trashObject () | |
| Show trash content of object. | |
| getTemplateFile ($a_cmd, $a_type="") | |
| get a template blockfile format: tpl. | |
| cloneAllObject () | |
| Clone single (not container object) Method is overwritten in ilContainerGUI. | |
| copyWizardHasOptions ($a_mode) | |
| Check if there is any modules specific option. | |
| 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 | |
| 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 | |
| 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) | |
| displayEditForm ($fields) | |
| display edit form (usually called by editObject) | |
| afterUpdate () | |
| 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) | |
| 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 () | |
| __showClipboardTable ($a_result_set, $a_from="") | |
| 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="") | |
| Protected Attributes | |
| $obj_ref_id = 0 | |
| $obj_obj_id = 0 | |
| $obj_obj_type = '' | |
| $container_type = '' | |
Class ilObjRoleGUI.
ilObjRoleGUI: ilRepositorySearchGUI
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 2562 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::__initTableGUI | ( | ) | 
Reimplemented from ilObjectGUI.
Definition at line 2001 of file class.ilObjRoleGUI.php.
Referenced by __showAssignedUsersTable(), __showSearchGroupTable(), __showSearchRoleTable(), and __showSearchUserTable().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjRoleGUI::__prepareOutput | ( | ) | 
Definition at line 2584 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::__search | ( | $a_search_string, | |
| $a_search_for | |||
| ) | 
Definition at line 2228 of file class.ilObjRoleGUI.php.
References $_SESSION, ilUtil\sendInfo(), and ilUtil\stripSlashes().
Referenced by searchObject().
 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::__setHeader | ( | ) | 
Definition at line 2607 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 2622 of file class.ilObjRoleGUI.php.
References $row, and ilObjectGUI\$tree.
| ilObjRoleGUI::__setTableGUIBasicData | ( | & | $tbl, | 
| & | $result_set, | ||
| $a_from = "" | |||
| ) | 
standard implementation for tables use 'from' variable use different initial setting of table
Reimplemented from ilObjectGUI.
Definition at line 2008 of file class.ilObjRoleGUI.php.
References $_GET.
Referenced by __showAssignedUsersTable(), __showSearchGroupTable(), __showSearchRoleTable(), and __showSearchUserTable().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjRoleGUI::__showAssignedUsersTable | ( | $a_result_set, | |
| $a_user_ids = NULL | |||
| ) | 
Definition at line 1934 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$actions, ilObjectGUI\$tpl, __initTableGUI(), __setTableGUIBasicData(), ilObjectGUI\__showButton(), ilUtil\array_php2js(), and ilUtil\getImagePath().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjRoleGUI::__showSearchGroupTable | ( | $a_result_set, | |
| $a_grp_ids = NULL | |||
| ) | 
Definition at line 2382 of file class.ilObjRoleGUI.php.
References $_GET, ilObjectGUI\$tpl, __initTableGUI(), __setTableGUIBasicData(), ilUtil\array_php2js(), and ilUtil\getImagePath().
Referenced by searchObject().
 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::__showSearchRoleTable | ( | $a_result_set, | |
| $a_role_ids = NULL | |||
| ) | 
Definition at line 2322 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$tpl, __initTableGUI(), __setTableGUIBasicData(), ilUtil\array_php2js(), and ilUtil\getImagePath().
Referenced by searchObject().
 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::__showSearchUserTable | ( | $a_result_set, | |
| $a_user_ids = NULL, | |||
| $a_cmd = "search" | |||
| ) | 
Definition at line 2253 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$tpl, __initTableGUI(), __setTableGUIBasicData(), ilUtil\array_php2js(), and ilUtil\getImagePath().
Referenced by listUsersGroupObject(), listUsersRoleObject(), and searchObject().
 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::__unsetSessionVariables | ( | ) | 
Definition at line 2074 of file class.ilObjRoleGUI.php.
References $_SESSION.
Referenced by searchUserFormObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjRoleGUI::addAdminLocatorItems | ( | ) | 
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 2668 of file class.ilObjRoleGUI.php.
References $_GET, ilFrameTargetInfo\_getFrame(), 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 1689 of file class.ilObjRoleGUI.php.
References $rolf_ref_id, $user, checkAccess(), ilUtil\sendFailure(), 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 935 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 944 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 1281 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 1570 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 261 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 396 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 1619 of file class.ilObjRoleGUI.php.
References assignUserObject().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjRoleGUI::assignUserObject | ( | ) | 
Maybe deprecated, since search is done by ilRepositorySearchGUI and addUserObject assign users to role.
public
Definition at line 1631 of file class.ilObjRoleGUI.php.
References $_POST, $rolf_ref_id, $user, checkAccess(), searchObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Referenced by assignSaveObject().
 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::cancelObject | ( | ) | 
cancelObject is called when an operation is canceled, method links back public
Definition at line 2089 of file class.ilObjRoleGUI.php.
References $_GET.
| 
 | protected | 
Change existing objects.
Definition at line 2931 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 2814 of file class.ilObjRoleGUI.php.
Referenced by addUserObject(), adoptPermSaveObject(), askDeleteDesktopItemObject(), assignUserObject(), confirmDeleteRoleObject(), deassignUserObject(), deleteDesktopItemsObject(), editObject(), editObject2(), getTabs(), performDeleteRoleObject(), perm2Object(), permObject(), permSaveObject(), searchObject(), searchUserFormObject(), updateObject2(), 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 739 of file class.ilObjRoleGUI.php.
References $title, and ilObject\_lookupTitle().
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:| 
 | protected | 
Show delete confirmation screen.
Definition at line 1350 of file class.ilObjRoleGUI.php.
References $ilErr, 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 559 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 1740 of file class.ilObjRoleGUI.php.
References $_GET, $_POST, $user, 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 322 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 576 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::editObject2 | ( | ) | 
edit object
public
Definition at line 594 of file class.ilObjRoleGUI.php.
References $_SESSION, $ilSetting, ilFormat\_getSizeMagnitude(), ilObjRole\_getTranslation(), ilDiskQuotaActivationChecker\_isActive(), checkAccess(), ilObjectGUI\getTargetFrame(), ilObjectGUI\getTemplateFile(), ilUtil\prepareFormOutput(), and ilUtil\stripSlashes().
 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, 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 169 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 161 of file class.ilObjRoleGUI.php.
Referenced by performDeleteRoleObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Get type of role container.
Definition at line 178 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 138 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 129 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 147 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 2723 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 431 of file class.ilObjRoleGUI.php.
References $title, ilDiskQuotaActivationChecker\_isActive(), 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 2834 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 195 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::listUsersGroupObject | ( | ) | 
Definition at line 2496 of file class.ilObjRoleGUI.php.
References $_POST, $_SESSION, ilObjectGUI\$tree, $user, ilObjectGUI\__showButton(), __showSearchUserTable(), ilUtil\formCheckbox(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), searchObject(), and ilUtil\sendFailure().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjRoleGUI::listUsersRoleObject | ( | ) | 
Definition at line 2441 of file class.ilObjRoleGUI.php.
References $_POST, $_SESSION, $user, ilObjectGUI\__showButton(), __showSearchUserTable(), ilUtil\formCheckbox(), ilObjectFactory\getInstanceByObjId(), searchObject(), 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 517 of file class.ilObjRoleGUI.php.
References ilFormat\_getSizeMagnitude(), ilObjRole\setAllowRegister(), ilObject\setDescription(), ilObjRole\setDiskQuota(), 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 2795 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 1391 of file class.ilObjRoleGUI.php.
References $_GET, $ilErr, checkAccess(), getBackTarget(), ilUtil\redirect(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjRoleGUI::perm2Object | ( | ) | 
display permission settings template
public
Definition at line 954 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$objDefinition, $rolf_ref_id, $title, ilObjectGUI\$tree, ilObjRole\_getTranslation(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilUtil\array_php2js(), checkAccess(), ilUtil\getImagePath(), ilPlugin\lookupTxt(), and ilUtil\sortArray().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Show template permissions.
Definition at line 793 of file class.ilObjRoleGUI.php.
References $ilErr, ilObjectGUI\$objDefinition, $rolf_ref_id, ilTable2GUI\addMultiCommand(), 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 1420 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 532 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$data, ilFormat\_getSizeMagnitude(), ilDiskQuotaActivationChecker\_isActive(), ilObjRole\getAllowRegister(), ilObjRole\getAssignUsersStatus(), ilObject\getDescription(), ilObjRole\getDiskQuota(), ilObject\getId(), 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 709 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::searchObject | ( | ) | 
Definition at line 2101 of file class.ilObjRoleGUI.php.
References $_POST, $_SESSION, $result, ilObjectGUI\$tree, $user, __search(), ilObjectGUI\__showButton(), __showSearchGroupTable(), __showSearchRoleTable(), __showSearchUserTable(), checkAccess(), ilUtil\formCheckbox(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), searchUserFormObject(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\stripSlashes().
Referenced by assignUserObject(), listUsersGroupObject(), and listUsersRoleObject().
 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::searchUserFormObject | ( | ) | 
Definition at line 2038 of file class.ilObjRoleGUI.php.
References $_POST, $_SESSION, __unsetSessionVariables(), checkAccess(), and ilUtil\formRadioButton().
Referenced by searchObject().
 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::selectDesktopItemObject | ( | ) | 
Definition at line 362 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 155 of file class.ilObjRoleGUI.php.
| 
 | protected | 
Set sub tabs.
| object | $a_tab | 
Definition at line 2948 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 2862 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 187 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::showUpperIcon | ( | ) | 
Reimplemented from ilObjectGUI.
Definition at line 2695 of file class.ilObjRoleGUI.php.
References $_GET, ilObjectGUI\$objDefinition, ilObjectGUI\$tpl, and ilObjectGUI\$tree.
| ilObjRoleGUI::updateObject | ( | ) | 
Save role settings.
Reimplemented from ilObjectGUI.
Definition at line 764 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::updateObject2 | ( | ) | 
update role object
public
Definition at line 1812 of file class.ilObjRoleGUI.php.
References $_POST, ilObjectGUI\$tree, ilFormat\_getSizeMagnitude(), ilDiskQuotaActivationChecker\_isActive(), checkAccess(), ilUtil\sendSuccess(), ilUtil\stripSlashes(), and ilUtil\tf2yn().
 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 1897 of file class.ilObjRoleGUI.php.
References checkAccess().
 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(), assignUserObject(), listDesktopItemsObject(), perm2Object(), 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.