ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilObjRoleGUI. More...
Public Member Functions | |
__construct ($a_data, $a_id, $a_call_by_reference=false, $a_prepare_output=true) | |
Constructor public. More... | |
executeCommand () | |
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 public More... | |
listUsersRoleObject () | |
__prepareOutput () | |
__setHeader () | |
getTabs () | |
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 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... | |
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 |
$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... | |
addAdminLocatorItems ($a_do_not_add_object=false) | |
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... | |
addLocatorItems () | |
ensureRoleAccessForContext () | |
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 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... | |
Protected Attributes | |
$obj_ref_id = 0 | |
$obj_obj_id = 0 | |
$obj_obj_type = '' | |
$container_type = '' | |
Protected Attributes inherited from ilObjectGUI | |
$ilErr | |
$locator | |
$user | |
$access | |
$settings | |
$rbacreview | |
$toolbar | |
$rbacsystem | |
$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.
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 public.
Definition at line 47 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$lng, ilObjectGUI\$tree, ilObject\_lookupObjId(), ilObject\_lookupType(), array, getParentObjId(), and getParentRefId().
ilObjRoleGUI::__prepareOutput | ( | ) |
Definition at line 1290 of file class.ilObjRoleGUI.php.
References __setHeader(), ilUtil\infoPanel(), and ilUtil\sendInfo().
ilObjRoleGUI::__setHeader | ( | ) |
Definition at line 1308 of file class.ilObjRoleGUI.php.
References ilUtil\getImagePath(), getTabs(), and object.
Referenced by __prepareOutput().
|
protected |
Definition at line 1321 of file class.ilObjRoleGUI.php.
References $_GET, $DIC, ilObject\_lookupObjId(), ilObject\_lookupType(), and object.
|
protected |
Definition at line 1617 of file class.ilObjRoleGUI.php.
References $_GET, $DIC, ilObjRole\_getTranslation(), array, and object.
|
protected |
Add selected users to user clipboard.
Definition at line 1595 of file class.ilObjRoleGUI.php.
References $_POST, $GLOBALS, $ilCtrl, ilObjectGUI\$lng, $users, array, ilUserClipboard\getInstance(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjRoleGUI::addUserObject | ( | $a_user_ids | ) |
Assign user (callback from ilRepositorySearchGUI)
array | $a_user_ids | Array of user ids |
Definition at line 1043 of file class.ilObjRoleGUI.php.
References $GLOBALS, $obj_ref_id, ilObjectGUI\$rbacreview, ilObjectGUI\$user, checkAccess(), object, ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
|
protected |
Show administration permissions.
Definition at line 759 of file class.ilObjRoleGUI.php.
References permObject().
|
protected |
Save admin permissions.
Definition at line 768 of file class.ilObjRoleGUI.php.
References permSaveObject().
|
protected |
Definition at line 773 of file class.ilObjRoleGUI.php.
References $id, $key, $output, ilObjectGUI\$rbacreview, $tbl, ilObjRole\_getTranslation(), ilUtil\_sortIds(), array, and object.
Referenced by adoptPermSaveObject().
ilObjRoleGUI::adoptPermSaveObject | ( | ) |
copy permissions from role
public
Definition at line 986 of file class.ilObjRoleGUI.php.
References $_POST, ilObjectGUI\$access, $obj_ref_id, ilObjectGUI\$rbacreview, ilObjectGUI\$rbacsystem, ilObjectGUI\$tree, adoptPermObject(), checkAccess(), object, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjRoleGUI::askDeleteDesktopItemObject | ( | ) |
Definition at line 226 of file class.ilObjRoleGUI.php.
References $_POST, $counter, ilObjectGUI\$rbacsystem, checkAccess(), ilObjectFactory\getInstanceByRefId(), listDesktopItemsObject(), object, ilUtil\sendFailure(), and USER_FOLDER_ID.
ilObjRoleGUI::assignDesktopItemObject | ( | ) |
Definition at line 343 of file class.ilObjRoleGUI.php.
References $_GET, ilObjectGUI\$rbacsystem, ilObject\_lookupType(), ilRoleDesktopItem\add(), object, selectDesktopItemObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and USER_FOLDER_ID.
ilObjRoleGUI::assignSaveObject | ( | ) |
ilObjRoleGUI::cancelObject | ( | ) |
cancelObject is called when an operation is canceled, method links back public
Definition at line 1229 of file class.ilObjRoleGUI.php.
References $_GET.
|
protected |
Change existing objects.
Definition at line 1553 of file class.ilObjRoleGUI.php.
References $_POST, $obj_ref_id, ilObjectGUI\$rbacreview, ilObjectGUI\$tree, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilObjRoleGUI::checkAccess | ( | $a_perm_global, | |
$a_perm_obj = '' |
|||
) |
Definition at line 1450 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$rbacsystem.
Referenced by addUserObject(), adoptPermSaveObject(), askDeleteDesktopItemObject(), confirmDeleteRoleObject(), deassignUserObject(), deleteDesktopItemsObject(), editObject(), executeCommand(), getTabs(), performDeleteRoleObject(), permObject(), permSaveObject(), and userassignmentObject().
|
protected |
Check if role with same name already exists in this folder.
Definition at line 598 of file class.ilObjRoleGUI.php.
Referenced by saveObject(), and updateObject().
|
protected |
Show delete confirmation screen.
Definition at line 812 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$access, ilObjectGUI\$ilErr, $ilUser, ilObjectGUI\$rbacreview, checkAccess(), ilUtil\getImagePath(), object, and ilUtil\sendQuestion().
ilObjRoleGUI::createObject | ( | ) |
Only called from administration -> role folder ? Otherwise this check access is wrong.
Definition at line 523 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$ilErr, ilObjectGUI\$rbacsystem, and initFormRoleProperties().
ilObjRoleGUI::deassignUserObject | ( | ) |
de-assign users from role
public
Definition at line 1090 of file class.ilObjRoleGUI.php.
References $_GET, $_POST, ilObjectGUI\$rbacreview, ilObjectGUI\$rbacsystem, ilObjectGUI\$user, array, checkAccess(), object, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjRoleGUI::deleteDesktopItemsObject | ( | ) |
Definition at line 273 of file class.ilObjRoleGUI.php.
References $_POST, ilObjectGUI\$rbacsystem, checkAccess(), ilRoleDesktopItem\delete(), listDesktopItemsObject(), object, ilUtil\sendFailure(), ilUtil\sendSuccess(), and USER_FOLDER_ID.
ilObjRoleGUI::editObject | ( | ) |
Edit role properties.
Definition at line 539 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$ilErr, $ilSetting, $obj_ref_id, ilObjectGUI\$rbacreview, ilObjectGUI\$rbacsystem, checkAccess(), initFormRoleProperties(), object, and readRoleProperties().
|
protected |
Definition at line 1645 of file class.ilObjRoleGUI.php.
References $DIC, $obj_ref_id, and object.
Referenced by executeCommand().
ilObjRoleGUI::executeCommand | ( | ) |
Definition at line 76 of file class.ilObjRoleGUI.php.
References $GLOBALS, $obj_ref_id, ilObjectGUI\$rbacsystem, $ret, ilExportOptions\allocateExportId(), checkAccess(), ensureRoleAccessForContext(), ilExportOptions\KEY_ROOT, ilExportOptions\newInstance(), object, ilObjectGUI\prepareOutput(), and showDefaultPermissionSettings().
ilObjRoleGUI::getAdminTabs | ( | ) |
admin and normal tabs are equal for roles
Definition at line 179 of file class.ilObjRoleGUI.php.
References getTabs().
ilObjRoleGUI::getBackTarget | ( | ) |
|
protected |
Get type of role container.
Definition at line 188 of file class.ilObjRoleGUI.php.
References $container_type.
Referenced by showDefaultPermissionSettings().
ilObjRoleGUI::getParentObjId | ( | ) |
Get obj_id of current object.
Definition at line 148 of file class.ilObjRoleGUI.php.
References $obj_obj_id.
Referenced by __construct().
ilObjRoleGUI::getParentRefId | ( | ) |
Get ref id of current object (not role folder id)
Definition at line 139 of file class.ilObjRoleGUI.php.
References $obj_ref_id.
Referenced by __construct(), and permObject().
ilObjRoleGUI::getParentType | ( | ) |
get type of current object (not role folder)
Definition at line 157 of file class.ilObjRoleGUI.php.
References $obj_obj_type.
Referenced by permObject(), and permSaveObject().
ilObjRoleGUI::getTabs | ( | ) |
Definition at line 1351 of file class.ilObjRoleGUI.php.
References $_GET, ilObjectGUI\$rbacreview, array, checkAccess(), object, and showDefaultPermissionSettings().
Referenced by __setHeader(), and getAdminTabs().
|
protected |
Create role prperty form.
int | $a_mode |
Definition at line 376 of file class.ilObjRoleGUI.php.
References $title, ilDiskQuotaActivationChecker\_isActive(), ilDiskQuotaActivationChecker\_isPersonalWorkspaceActive(), ilObjRole\isAutoGenerated(), object, ilFormPropertyGUI\setDisabled(), ilNumberInputGUI\setMinValue(), and ilCheckboxInputGUI\setValue().
Referenced by createObject(), editObject(), saveObject(), and updateObject().
|
protected |
Check if a confirmation about further settings is required or not.
Definition at line 1467 of file class.ilObjRoleGUI.php.
References $_POST, and ilObjectGUI\$rbacreview.
Referenced by permSaveObject().
ilObjRoleGUI::listDesktopItemsObject | ( | ) |
Definition at line 205 of file class.ilObjRoleGUI.php.
References $obj_ref_id, ilObjectGUI\$rbacreview, ilObjectGUI\$rbacsystem, $tbl, ilObjectGUI\__showButton(), ilUtil\sendInfo(), and USER_FOLDER_ID.
Referenced by askDeleteDesktopItemObject(), deleteDesktopItemsObject(), and selectDesktopItemObject().
ilObjRoleGUI::listUsersRoleObject | ( | ) |
Definition at line 1239 of file class.ilObjRoleGUI.php.
References $_POST, $_SESSION, $counter, ilObjectGUI\$rbacreview, ilObjectGUI\$rbacsystem, ilObjectGUI\$user, ilObjectGUI\__showButton(), array, ilUtil\formCheckbox(), ilObjectFactory\getInstanceByObjId(), and ilUtil\sendFailure().
|
protected |
Store form input in role object.
object | $role |
Definition at line 472 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().
ilObjRoleGUI::mailToRoleObject | ( | ) |
Definition at line 1435 of file class.ilObjRoleGUI.php.
References $_SESSION, ilObject\_getIdsForTitle(), array, ilMailFormCall\getRedirectTarget(), ilMailRoleAddressType\getRoleMailboxAddress(), object, and ilUtil\redirect().
|
protected |
Delete role.
Definition at line 851 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$access, ilObjectGUI\$ilErr, checkAccess(), and ilUtil\sendSuccess().
|
protected |
Show template permissions.
Definition at line 636 of file class.ilObjRoleGUI.php.
References $def, ilObjectGUI\$ilErr, $obj_ref_id, ilObjectGUI\$objDefinition, $options, ilObjectGUI\$rbacreview, $tbl, array, checkAccess(), ilAccordionGUI\FORCE_ALL_OPEN, getParentRefId(), getParentType(), ilObjectPlugin\lookupTxtById(), object, setSubTabs(), and ilUtil\sortArray().
Referenced by adminPermObject().
ilObjRoleGUI::permSaveObject | ( | $a_show_admin_permissions = false | ) |
save permissions
public
Definition at line 872 of file class.ilObjRoleGUI.php.
References $_POST, ilObjectGUI\$access, $def, $key, $obj_ref_id, ilObjectGUI\$objDefinition, ilObjectGUI\$rbacreview, ilObjectGUI\$rbacsystem, ilObjectGUI\$tree, ilRbacLog\add(), array, checkAccess(), ilRbacLog\diffTemplate(), ilRbacLog\EDIT_TEMPLATE, ilRbacLog\gatherTemplate(), getParentType(), ilRbacLog\isActive(), isChangeExistingObjectsConfirmationRequired(), ilObjRole\MODE_PROTECTED_KEEP_LOCAL_POLICIES, ilObjRole\MODE_UNPROTECTED_KEEP_LOCAL_POLICIES, object, ilUtil\sendSuccess(), showChangeExistingObjectsConfirmation(), and ilUtil\tf2yn().
Referenced by adminPermSaveObject().
|
protected |
Read role properties and write them to form.
object | $role |
Definition at line 493 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$data, ilObjectGUI\$rbacreview, 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().
ilObjRoleGUI::saveObject | ( | ) |
Save new role.
Definition at line 568 of file class.ilObjRoleGUI.php.
References $obj_ref_id, ilObjectGUI\$rbacreview, checkDuplicate(), initFormRoleProperties(), loadRoleProperties(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjRoleGUI::selectDesktopItemObject | ( | ) |
Definition at line 308 of file class.ilObjRoleGUI.php.
References $_GET, $output, ilObjectGUI\$rbacsystem, ilObjectGUI\$tree, ilObjectGUI\__showButton(), listDesktopItemsObject(), object, ilUtil\sendFailure(), ilUtil\sendInfo(), and USER_FOLDER_ID.
Referenced by assignDesktopItemObject().
ilObjRoleGUI::setBackTarget | ( | $a_text, | |
$a_link | |||
) |
|
protected |
Set sub tabs.
object | $a_tab |
Definition at line 1571 of file class.ilObjRoleGUI.php.
Referenced by permObject().
|
protected |
Show confirmation screen.
Definition at line 1491 of file class.ilObjRoleGUI.php.
References $_POST, $form, array, 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().
|
protected |
check if default permissions are shown or not
Definition at line 197 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$objDefinition, and getContainerType().
Referenced by executeCommand(), and getTabs().
ilObjRoleGUI::updateObject | ( | ) |
Save role settings.
Definition at line 608 of file class.ilObjRoleGUI.php.
References checkDuplicate(), initFormRoleProperties(), loadRoleProperties(), object, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjRoleGUI::userassignmentObject | ( | ) |
display user assignment panel
Definition at line 1151 of file class.ilObjRoleGUI.php.
References $ilUser, ilObjectGUI\$lng, ilObjectGUI\$rbacreview, ilObjectGUI\$rbacsystem, ilSecuritySettings\_getInstance(), array, checkAccess(), ilRepositorySearchGUI\fillAutoCompleteToolbar(), and object.
|
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 addUserObject(), adoptPermSaveObject(), changeExistingObjectsObject(), editObject(), ensureRoleAccessForContext(), executeCommand(), getParentRefId(), listDesktopItemsObject(), permObject(), permSaveObject(), and saveObject().
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.
const ilObjRoleGUI::MODE_GLOBAL_UPDATE = 1 |
Definition at line 22 of file class.ilObjRoleGUI.php.
const ilObjRoleGUI::MODE_LOCAL_CREATE = 4 |
Definition at line 25 of file class.ilObjRoleGUI.php.
const ilObjRoleGUI::MODE_LOCAL_UPDATE = 3 |
Definition at line 24 of file class.ilObjRoleGUI.php.