|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilObjRoleGUI. More...
Inheritance 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 @access public. More... | |
| executeCommand () | |
| execute command More... | |
| getParentRefId () | |
| Get ref id of current object (not role folder id) More... | |
| getParentObjId () | |
| Get obj_id of current object. More... | |
| getParentType () | |
| get type of current object (not role folder) More... | |
| setBackTarget ($a_text, $a_link) | |
| set back tab target More... | |
| getBackTarget () | |
| getAdminTabs () | |
| admin and normal tabs are equal for roles More... | |
| listDesktopItemsObject () | |
| askDeleteDesktopItemObject () | |
| deleteDesktopItemsObject () | |
| selectDesktopItemObject () | |
| assignDesktopItemObject () | |
| createObject () | |
| Only called from administration -> role folder ? Otherwise this check access is wrong. More... | |
| editObject () | |
| Edit role properties. More... | |
| saveObject () | |
| Save new role. More... | |
| updateObject () | |
| Save role settings. More... | |
| permSaveObject ($a_show_admin_permissions=false) | |
| save permissions More... | |
| adoptPermSaveObject () | |
| copy permissions from role More... | |
| assignSaveObject () | |
| wrapper for renamed function More... | |
| addUserObject ($a_user_ids) | |
| Assign user (callback from ilRepositorySearchGUI) More... | |
| deassignUserObject () | |
| de-assign users from role More... | |
| userassignmentObject () | |
| display user assignment panel More... | |
| cancelObject () | |
| cancelObject is called when an operation is canceled, method links back @access public More... | |
| listUsersRoleObject () | |
| __prepareOutput () | |
| __setHeader () | |
| __setLocator () | |
| addAdminLocatorItems ($a_do_not_add_object=false) | |
| should be overwritten to add object specific items (repository items are preloaded) More... | |
| getTabs () | |
| get tabs abstract method. More... | |
| mailToRoleObject () | |
| checkAccess ($a_perm_global, $a_perm_obj='') | |
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... | |
| 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... | |
Data Fields | |
| const | MODE_GLOBAL_UPDATE = 1 |
| const | MODE_GLOBAL_CREATE = 2 |
| const | MODE_LOCAL_UPDATE = 3 |
| const | MODE_LOCAL_CREATE = 4 |
| $type | |
| $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. More... | |
| showDefaultPermissionSettings () | |
| check if default permissions are shown or not More... | |
| initFormRoleProperties ($a_mode) | |
| Create role prperty form. More... | |
| loadRoleProperties (ilObjRole $role) | |
| Store form input in role object. More... | |
| readRoleProperties (ilObjRole $role) | |
| Read role properties and write them to form. More... | |
| checkDuplicate ($a_role_id=0) | |
| Check if role with same name already exists in this folder. More... | |
| permObject ($a_show_admin_permissions=false) | |
| Show template permissions. More... | |
| adminPermObject () | |
| Show administration permissions. More... | |
| adminPermSaveObject () | |
| Save admin permissions. More... | |
| adoptPermObject () | |
| confirmDeleteRoleObject () | |
| Show delete confirmation screen. More... | |
| performDeleteRoleObject () | |
| Delete role. More... | |
| isChangeExistingObjectsConfirmationRequired () | |
| Check if a confirmation about further settings is required or not. More... | |
| showChangeExistingObjectsConfirmation () | |
| Show confirmation screen. More... | |
| changeExistingObjectsObject () | |
| Change existing objects. More... | |
| setSubTabs ($a_tab) | |
| Set sub tabs. More... | |
| addToClipboardObject () | |
| Add selected users to user clipboard. More... | |
| ensureRoleAccessForContext () | |
| Ensure access to role for ref_id. More... | |
Protected Member Functions inherited from ilObjectGUI | |
| 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 @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... | |
| 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... | |
| 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... | |
Protected Attributes | |
| $obj_ref_id = 0 | |
| $obj_obj_id = 0 | |
| $obj_obj_type = '' | |
| $container_type = '' | |
Protected Attributes inherited from ilObjectGUI | |
| $tmp_import_dir | |
| $tabs_gui = null | |
| $ctrl | |
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... | |
Class ilObjRoleGUI.
@ilCtrl_Calls ilObjRoleGUI: ilRepositorySearchGUI, ilExportGUI
Definition at line 20 of file class.ilObjRoleGUI.php.
| ilObjRoleGUI::__construct | ( | $a_data, | |
| $a_id, | |||
$a_call_by_reference = false, |
|||
$a_prepare_output = true |
|||
| ) |
Constructor @access public.
Definition at line 47 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$lng, ilObjectGUI\$tree, ilObject\_lookupObjId(), ilObject\_lookupType(), getParentObjId(), and getParentRefId().
Here is the call graph for this function:| ilObjRoleGUI::__prepareOutput | ( | ) |
Definition at line 1414 of file class.ilObjRoleGUI.php.
References __setHeader(), ilUtil\infoPanel(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjRoleGUI::__setHeader | ( | ) |
Definition at line 1436 of file class.ilObjRoleGUI.php.
References ilUtil\getImagePath(), and getTabs().
Referenced by __prepareOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjRoleGUI::__setLocator | ( | ) |
Definition at line 1445 of file class.ilObjRoleGUI.php.
References $_GET, $counter, $ilCtrl, $row, and ilObjectGUI\$tree.
| ilObjRoleGUI::addAdminLocatorItems | ( | $a_do_not_add_object = false | ) |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 1496 of file class.ilObjRoleGUI.php.
References $_GET, and ilObject\_lookupObjId().
Here is the call graph for this function:
|
protected |
Add selected users to user clipboard.
Definition at line 1783 of file class.ilObjRoleGUI.php.
References $_POST, $GLOBALS, $ilCtrl, ilObjectGUI\$lng, ilUserClipboard\getInstance(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
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 1142 of file class.ilObjRoleGUI.php.
References $GLOBALS, checkAccess(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Show administration permissions.
Definition at line 822 of file class.ilObjRoleGUI.php.
References permObject().
Here is the call graph for this function:
|
protected |
Save admin permissions.
Definition at line 831 of file class.ilObjRoleGUI.php.
References permSaveObject().
Here is the call graph for this function:
|
protected |
Definition at line 836 of file class.ilObjRoleGUI.php.
References $output, $tbl, ilObjRole\_getTranslation(), and ilUtil\_sortIds().
Referenced by adoptPermSaveObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjRoleGUI::adoptPermSaveObject | ( | ) |
copy permissions from role
@access public
Definition at line 1081 of file class.ilObjRoleGUI.php.
References $_POST, ilObjectGUI\$tree, adoptPermObject(), checkAccess(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjRoleGUI::askDeleteDesktopItemObject | ( | ) |
Definition at line 233 of file class.ilObjRoleGUI.php.
References $_POST, $counter, checkAccess(), ilObjectFactory\getInstanceByRefId(), listDesktopItemsObject(), ilUtil\sendFailure(), and USER_FOLDER_ID.
Here is the call graph for this function:| ilObjRoleGUI::assignDesktopItemObject | ( | ) |
Definition at line 358 of file class.ilObjRoleGUI.php.
References $_GET, ilObject\_lookupType(), selectDesktopItemObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and USER_FOLDER_ID.
Here is the call graph for this function:| ilObjRoleGUI::assignSaveObject | ( | ) |
wrapper for renamed function
@access public
Definition at line 1130 of file class.ilObjRoleGUI.php.
| ilObjRoleGUI::cancelObject | ( | ) |
cancelObject is called when an operation is canceled, method links back @access public
Reimplemented from ilObjectGUI.
Definition at line 1346 of file class.ilObjRoleGUI.php.
References $_GET.
|
protected |
Change existing objects.
Definition at line 1739 of file class.ilObjRoleGUI.php.
References $_POST, $obj_ref_id, $start, ilObjectGUI\$tree, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjRoleGUI::checkAccess | ( | $a_perm_global, | |
$a_perm_obj = '' |
|||
| ) |
Definition at line 1622 of file class.ilObjRoleGUI.php.
Referenced by addUserObject(), adoptPermSaveObject(), askDeleteDesktopItemObject(), confirmDeleteRoleObject(), deassignUserObject(), deleteDesktopItemsObject(), editObject(), executeCommand(), getTabs(), performDeleteRoleObject(), permObject(), permSaveObject(), and userassignmentObject().
Here is the caller graph for this function:
|
protected |
Check if role with same name already exists in this folder.
Definition at line 635 of file class.ilObjRoleGUI.php.
|
protected |
Show delete confirmation screen.
Definition at line 878 of file class.ilObjRoleGUI.php.
References $ilErr, $ilUser, checkAccess(), ilUtil\getImagePath(), and ilUtil\sendQuestion().
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 555 of file class.ilObjRoleGUI.php.
References $ilErr, and initFormRoleProperties().
Here is the call graph for this function:| ilObjRoleGUI::deassignUserObject | ( | ) |
de-assign users from role
@access public
Definition at line 1194 of file class.ilObjRoleGUI.php.
References $_GET, $_POST, checkAccess(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjRoleGUI::deleteDesktopItemsObject | ( | ) |
Definition at line 285 of file class.ilObjRoleGUI.php.
References $_POST, checkAccess(), listDesktopItemsObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and USER_FOLDER_ID.
Here is the call graph for this function:| ilObjRoleGUI::editObject | ( | ) |
Edit role properties.
Reimplemented from ilObjectGUI.
Definition at line 572 of file class.ilObjRoleGUI.php.
References $ilErr, $ilSetting, checkAccess(), initFormRoleProperties(), and readRoleProperties().
Here is the call graph for this function:
|
protected |
Ensure access to role for ref_id.
| ilObjectException |
Definition at line 1807 of file class.ilObjRoleGUI.php.
References $DIC.
Referenced by executeCommand().
Here is the caller graph for this function:| ilObjRoleGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 75 of file class.ilObjRoleGUI.php.
References $cmd, $GLOBALS, $ret, ilExportOptions\allocateExportId(), checkAccess(), ensureRoleAccessForContext(), ilExportOptions\KEY_ROOT, ilExportOptions\newInstance(), ilObjectGUI\prepareOutput(), and showDefaultPermissionSettings().
Here is the call graph for this function:| ilObjRoleGUI::getAdminTabs | ( | ) |
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:| 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:| 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:| 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:| 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:| ilObjRoleGUI::getTabs | ( | ) |
get tabs abstract method.
@abstract overwrite in derived GUI class of your object type @access public
| object | instance of ilTabsGUI |
Reimplemented from ilObjectGUI.
Definition at line 1524 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 caller graph for this function:
|
protected |
Create role prperty form.
| int | $a_mode |
Definition at line 393 of file class.ilObjRoleGUI.php.
References $title, ilDiskQuotaActivationChecker\_isActive(), ilDiskQuotaActivationChecker\_isPersonalWorkspaceActive(), ilObjRole\isAutoGenerated(), MODE_GLOBAL_CREATE, MODE_GLOBAL_UPDATE, MODE_LOCAL_CREATE, and MODE_LOCAL_UPDATE.
Referenced by createObject(), editObject(), saveObject(), and updateObject().
Here is the call 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 1642 of file class.ilObjRoleGUI.php.
References $_POST.
Referenced by permSaveObject().
Here is the caller graph for this function:| ilObjRoleGUI::listDesktopItemsObject | ( | ) |
Definition at line 210 of file class.ilObjRoleGUI.php.
References $tbl, ilObjectGUI\__showButton(), ilUtil\sendInfo(), and USER_FOLDER_ID.
Referenced by askDeleteDesktopItemObject(), deleteDesktopItemsObject(), and selectDesktopItemObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjRoleGUI::listUsersRoleObject | ( | ) |
Definition at line 1359 of file class.ilObjRoleGUI.php.
References $_POST, $_SESSION, $counter, ilObjectGUI\__showButton(), ilUtil\formCheckbox(), ilObjectFactory\getInstanceByObjId(), and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
Store form input in role object.
| object | $role |
Definition at line 499 of file class.ilObjRoleGUI.php.
References ilUtil\MB2Bytes(), 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 caller graph for this function:| ilObjRoleGUI::mailToRoleObject | ( | ) |
Definition at line 1604 of file class.ilObjRoleGUI.php.
References $_SESSION, ilObject\_getIdsForTitle(), ilMailFormCall\getRedirectTarget(), and ilUtil\redirect().
Here is the call graph for this function:
|
protected |
Delete role.
Definition at line 919 of file class.ilObjRoleGUI.php.
References $ilErr, checkAccess(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Show template permissions.
Definition at line 674 of file class.ilObjRoleGUI.php.
References $ilErr, ilObjectGUI\$objDefinition, $options, $tbl, checkAccess(), ilAccordionGUI\FORCE_ALL_OPEN, getParentRefId(), getParentType(), ilObjectPlugin\lookupTxtById(), setSubTabs(), and ilUtil\sortArray().
Referenced by adminPermObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjRoleGUI::permSaveObject | ( | $a_show_admin_permissions = false | ) |
save permissions
@access public
Definition at line 941 of file class.ilObjRoleGUI.php.
References $_POST, $obj_ref_id, ilObjectGUI\$objDefinition, $start, 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 caller graph for this function:
|
protected |
Read role properties and write them to form.
| object | $role |
Definition at line 523 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$data, ilDiskQuotaActivationChecker\_isActive(), ilDiskQuotaActivationChecker\_isPersonalWorkspaceActive(), ilObject\_lookupType(), ilUtil\Bytes2MB(), 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 caller graph for this function:| ilObjRoleGUI::saveObject | ( | ) |
Save new role.
Reimplemented from ilObjectGUI.
Definition at line 604 of file class.ilObjRoleGUI.php.
References initFormRoleProperties(), loadRoleProperties(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjRoleGUI::selectDesktopItemObject | ( | ) |
Definition at line 324 of file class.ilObjRoleGUI.php.
References $_GET, $output, 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 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 1757 of file class.ilObjRoleGUI.php.
Referenced by permObject().
Here is the caller graph for this function:
|
protected |
Show confirmation screen.
Definition at line 1670 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, and ilObjRole\MODE_UNPROTECTED_KEEP_LOCAL_POLICIES.
Referenced by permSaveObject().
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 caller graph for this function:| ilObjRoleGUI::updateObject | ( | ) |
Save role settings.
Reimplemented from ilObjectGUI.
Definition at line 645 of file class.ilObjRoleGUI.php.
References initFormRoleProperties(), loadRoleProperties(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjRoleGUI::userassignmentObject | ( | ) |
display user assignment panel
Definition at line 1264 of file class.ilObjRoleGUI.php.
References $ilUser, ilObjectGUI\$lng, ilSecuritySettings\_getInstance(), checkAccess(), and ilRepositorySearchGUI\fillAutoCompleteToolbar().
Here is the call graph for this function:
|
protected |
Definition at line 38 of file class.ilObjRoleGUI.php.
Referenced by getContainerType().
| ilObjRoleGUI::$ctrl |
Definition at line 41 of file class.ilObjRoleGUI.php.
|
protected |
Definition at line 36 of file class.ilObjRoleGUI.php.
Referenced by getParentObjId().
|
protected |
Definition at line 37 of file class.ilObjRoleGUI.php.
Referenced by getParentType().
|
protected |
Definition at line 35 of file class.ilObjRoleGUI.php.
Referenced by changeExistingObjectsObject(), getParentRefId(), and permSaveObject().
| ilObjRoleGUI::$type |
Definition at line 32 of file class.ilObjRoleGUI.php.
| const ilObjRoleGUI::MODE_GLOBAL_CREATE = 2 |
Definition at line 23 of file class.ilObjRoleGUI.php.
Referenced by initFormRoleProperties().
| const ilObjRoleGUI::MODE_GLOBAL_UPDATE = 1 |
Definition at line 22 of file class.ilObjRoleGUI.php.
Referenced by initFormRoleProperties().
| const ilObjRoleGUI::MODE_LOCAL_CREATE = 4 |
Definition at line 25 of file class.ilObjRoleGUI.php.
Referenced by initFormRoleProperties().
| const ilObjRoleGUI::MODE_LOCAL_UPDATE = 3 |
Definition at line 24 of file class.ilObjRoleGUI.php.
Referenced by initFormRoleProperties().