ILIAS
Release_4_0_x_branch Revision 61816
|
Class ilObjRoleGUI. More...
Public Member Functions | |
__construct ($a_data, $a_id, $a_call_by_reference=false, $a_prepare_output=true) | |
Constructor public. | |
& | executeCommand () |
execute command | |
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. | |
permObject () | |
display permission settings template | |
permSaveObject () | |
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. | |
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. | |
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. | |
fillCloneSearchTemplate ($a_tpl_varname, $a_type) | |
Add an object search in case the number of existing objects is too big to offer a selection list. | |
searchCloneSourceObject () | |
Search clone source by title. | |
buildCloneSelect ($existing_objs) | |
Build a select box for clonable objects (permission write) | |
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 | |
$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 50 of file class.ilObjRoleGUI.php.
References $_GET, ilObjectGUI\$lng, ilObjectGUI\$tree, ilObject\_lookupObjId(), ilObject\_lookupType(), and ilObjectGUI\ilObjectGUI().
ilObjRoleGUI::__formatPath | ( | $a_path_arr | ) |
Definition at line 2538 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$data.
Referenced by listDesktopItemsObject().
& ilObjRoleGUI::__initTableGUI | ( | ) |
Reimplemented from ilObjectGUI.
Definition at line 1977 of file class.ilObjRoleGUI.php.
Referenced by __showAssignedUsersTable(), __showSearchGroupTable(), __showSearchRoleTable(), and __showSearchUserTable().
ilObjRoleGUI::__prepareOutput | ( | ) |
Definition at line 2560 of file class.ilObjRoleGUI.php.
References __setHeader(), ilUtil\infoPanel(), and ilUtil\sendInfo().
Referenced by executeCommand().
ilObjRoleGUI::__search | ( | $a_search_string, | |
$a_search_for | |||
) |
Definition at line 2204 of file class.ilObjRoleGUI.php.
References $_SESSION, ilUtil\sendInfo(), and ilUtil\stripSlashes().
Referenced by searchObject().
ilObjRoleGUI::__setHeader | ( | ) |
Definition at line 2583 of file class.ilObjRoleGUI.php.
References ilUtil\getImagePath(), and getTabs().
Referenced by __prepareOutput().
ilObjRoleGUI::__setLocator | ( | ) |
Definition at line 2598 of file class.ilObjRoleGUI.php.
References $key, $row, ilObjectGUI\$tree, and elseif().
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 1984 of file class.ilObjRoleGUI.php.
References $_GET.
Referenced by __showAssignedUsersTable(), __showSearchGroupTable(), __showSearchRoleTable(), and __showSearchUserTable().
ilObjRoleGUI::__showAssignedUsersTable | ( | $a_result_set, | |
$a_user_ids = NULL |
|||
) |
Definition at line 1910 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$actions, $name, ilObjectGUI\$tpl, __initTableGUI(), __setTableGUIBasicData(), ilObjectGUI\__showButton(), ilUtil\array_php2js(), and ilUtil\getImagePath().
Referenced by userassignmentObject().
ilObjRoleGUI::__showSearchGroupTable | ( | $a_result_set, | |
$a_grp_ids = NULL |
|||
) |
Definition at line 2358 of file class.ilObjRoleGUI.php.
References $_GET, ilObjectGUI\$tpl, __initTableGUI(), __setTableGUIBasicData(), ilUtil\array_php2js(), and ilUtil\getImagePath().
Referenced by searchObject().
ilObjRoleGUI::__showSearchRoleTable | ( | $a_result_set, | |
$a_role_ids = NULL |
|||
) |
Definition at line 2298 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$tpl, __initTableGUI(), __setTableGUIBasicData(), ilUtil\array_php2js(), and ilUtil\getImagePath().
Referenced by searchObject().
ilObjRoleGUI::__showSearchUserTable | ( | $a_result_set, | |
$a_user_ids = NULL , |
|||
$a_cmd = "search" |
|||
) |
Definition at line 2229 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$tpl, __initTableGUI(), __setTableGUIBasicData(), ilUtil\array_php2js(), and ilUtil\getImagePath().
Referenced by listUsersGroupObject(), listUsersRoleObject(), and searchObject().
ilObjRoleGUI::__unsetSessionVariables | ( | ) |
Definition at line 2050 of file class.ilObjRoleGUI.php.
References $_SESSION.
Referenced by searchUserFormObject().
ilObjRoleGUI::addAdminLocatorItems | ( | ) |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 2644 of file class.ilObjRoleGUI.php.
References $_GET, ilFrameTargetInfo\_getFrame(), and ilObject\_lookupObjId().
ilObjRoleGUI::addUserObject | ( | $a_user_ids | ) |
Assign user (callback from ilRepositorySearchGUI)
array | $a_user_ids | Array of user ids |
Definition at line 1594 of file class.ilObjRoleGUI.php.
References $rolf_ref_id, $user, checkAccess(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjRoleGUI::adoptPermSaveObject | ( | ) |
copy permissions from role
public
Definition at line 1475 of file class.ilObjRoleGUI.php.
References $_POST, $rolf_ref_id, ilObjectGUI\$tree, checkAccess(), permObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjRoleGUI::askDeleteDesktopItemObject | ( | ) |
Definition at line 271 of file class.ilObjRoleGUI.php.
References $_POST, $_SESSION, $desc, checkAccess(), ilUtil\getImagePath(), ilObjectFactory\getInstanceByRefId(), ilRoleDesktopItem\getItem(), listDesktopItemsObject(), ilUtil\sendFailure(), ilUtil\sendQuestion(), ilUtil\switchColor(), and USER_FOLDER_ID.
ilObjRoleGUI::assignDesktopItemObject | ( | ) |
Definition at line 406 of file class.ilObjRoleGUI.php.
References $_GET, ilObject\_lookupType(), ilRoleDesktopItem\add(), selectDesktopItemObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and USER_FOLDER_ID.
ilObjRoleGUI::assignSaveObject | ( | ) |
wrapper for renamed function
public
Definition at line 1524 of file class.ilObjRoleGUI.php.
References assignUserObject().
ilObjRoleGUI::assignUserObject | ( | ) |
Maybe deprecated, since search is done by ilRepositorySearchGUI and addUserObject assign users to role.
public
Definition at line 1536 of file class.ilObjRoleGUI.php.
References $_POST, $rolf_ref_id, $user, checkAccess(), searchObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Referenced by assignSaveObject().
ilObjRoleGUI::cancelObject | ( | ) |
cancelObject is called when an operation is canceled, method links back public
Definition at line 2065 of file class.ilObjRoleGUI.php.
References $_GET.
|
protected |
Change existing objects.
Definition at line 2897 of file class.ilObjRoleGUI.php.
References $_POST, $start, ilObjectGUI\$tree, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilObjRoleGUI::checkAccess | ( | $a_perm_global, | |
$a_perm_obj = '' |
|||
) |
Definition at line 2780 of file class.ilObjRoleGUI.php.
Referenced by addUserObject(), adoptPermSaveObject(), askDeleteDesktopItemObject(), assignUserObject(), confirmDeleteRoleObject(), deassignUserObject(), deleteDesktopItemsObject(), editObject(), editObject2(), getTabs(), performDeleteRoleObject(), permObject(), permSaveObject(), searchObject(), searchUserFormObject(), updateObject2(), and userassignmentObject().
|
protected |
Check if role with same name already exists in this folder.
Definition at line 749 of file class.ilObjRoleGUI.php.
References $title, and ilObject\_lookupTitle().
Referenced by saveObject(), and updateObject().
|
protected |
Show delete confirmation screen.
Definition at line 1204 of file class.ilObjRoleGUI.php.
References $ilErr, checkAccess(), ilUtil\getImagePath(), and ilUtil\sendQuestion().
ilObjRoleGUI::createObject | ( | ) |
Only called from administration -> role folder ? Otherwise this check access is wrong.
Reimplemented from ilObjectGUI.
Definition at line 569 of file class.ilObjRoleGUI.php.
References $ilErr, and initFormRoleProperties().
ilObjRoleGUI::deassignUserObject | ( | ) |
de-assign users from role
public
Definition at line 1645 of file class.ilObjRoleGUI.php.
References $_GET, $_POST, $user, checkAccess(), and ilUtil\sendSuccess().
ilObjRoleGUI::deleteDesktopItemsObject | ( | ) |
Definition at line 332 of file class.ilObjRoleGUI.php.
References $_SESSION, checkAccess(), ilRoleDesktopItem\delete(), listDesktopItemsObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and USER_FOLDER_ID.
ilObjRoleGUI::editObject | ( | ) |
Edit role properties.
Reimplemented from ilObjectGUI.
Definition at line 586 of file class.ilObjRoleGUI.php.
References $ilErr, $ilSetting, checkAccess(), initFormRoleProperties(), and readRoleProperties().
ilObjRoleGUI::editObject2 | ( | ) |
edit object
public
Definition at line 604 of file class.ilObjRoleGUI.php.
References $_SESSION, $ilSetting, ilFormat\_getSizeMagnitude(), ilObjRole\_getTranslation(), ilDiskQuotaActivationChecker\_isActive(), checkAccess(), ilObjectGUI\getTargetFrame(), ilObjectGUI\getTemplateFile(), ilUtil\prepareFormOutput(), and ilUtil\stripSlashes().
& ilObjRoleGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 77 of file class.ilObjRoleGUI.php.
References $_GET, $cmd, $ret, __prepareOutput(), ilObjectGUI\prepareOutput(), and showDefaultPermissionSettings().
ilObjRoleGUI::getAdminTabs | ( | & | $tabs_gui | ) |
admin and normal tabs are equal for roles
Reimplemented from ilObjectGUI.
Definition at line 179 of file class.ilObjRoleGUI.php.
References getTabs().
ilObjRoleGUI::getBackTarget | ( | ) |
Definition at line 171 of file class.ilObjRoleGUI.php.
Referenced by performDeleteRoleObject().
|
protected |
Get type of role container.
Definition at line 188 of file class.ilObjRoleGUI.php.
References $container_type.
Referenced by showDefaultPermissionSettings().
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 2699 of file class.ilObjRoleGUI.php.
References $_GET, checkAccess(), and showDefaultPermissionSettings().
Referenced by __setHeader(), and getAdminTabs().
|
protected |
Create role prperty form.
int | $a_mode |
Definition at line 441 of file class.ilObjRoleGUI.php.
References $desc, $title, ilDiskQuotaActivationChecker\_isActive(), ilObjRole\isAutoGenerated(), 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 2800 of file class.ilObjRoleGUI.php.
References $_POST.
Referenced by permSaveObject().
ilObjRoleGUI::listDesktopItemsObject | ( | ) |
Definition at line 205 of file class.ilObjRoleGUI.php.
References $desc, $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().
ilObjRoleGUI::listUsersGroupObject | ( | ) |
Definition at line 2472 of file class.ilObjRoleGUI.php.
References $_POST, $_SESSION, ilObjectGUI\$tree, $user, ilObjectGUI\__showButton(), __showSearchUserTable(), ilUtil\formCheckbox(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), searchObject(), and ilUtil\sendFailure().
ilObjRoleGUI::listUsersRoleObject | ( | ) |
Definition at line 2417 of file class.ilObjRoleGUI.php.
References $_POST, $_SESSION, $user, ilObjectGUI\__showButton(), __showSearchUserTable(), ilUtil\formCheckbox(), ilObjectFactory\getInstanceByObjId(), searchObject(), and ilUtil\sendFailure().
|
protected |
Store form input in role object.
object | $role |
Definition at line 527 of file class.ilObjRoleGUI.php.
References ilFormat\_getSizeMagnitude(), ilObjRole\setAllowRegister(), ilObject\setDescription(), ilObjRole\setDiskQuota(), ilObject\setTitle(), and ilObjRole\toggleAssignUsersStatus().
Referenced by saveObject(), and updateObject().
ilObjRoleGUI::mailToRoleObject | ( | ) |
Definition at line 2763 of file class.ilObjRoleGUI.php.
References $_SESSION, ilObject\_getIdsForTitle(), and ilUtil\redirect().
|
protected |
Delete role.
Definition at line 1244 of file class.ilObjRoleGUI.php.
References $_GET, $ilErr, checkAccess(), getBackTarget(), ilUtil\redirect(), and ilUtil\sendSuccess().
ilObjRoleGUI::permObject | ( | ) |
display permission settings template
public
Definition at line 807 of file class.ilObjRoleGUI.php.
References $desc, $key, ilObjectGUI\$objDefinition, $rolf_ref_id, $title, ilObjectGUI\$tree, ilObjRole\_getTranslation(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilUtil\_sortIds(), ilUtil\array_php2js(), checkAccess(), ilUtil\formRadioButton(), ilUtil\getImagePath(), ilPlugin\lookupTxt(), and ilUtil\sortArray().
Referenced by adoptPermSaveObject().
ilObjRoleGUI::permSaveObject | ( | ) |
save permissions
public
Definition at line 1273 of file class.ilObjRoleGUI.php.
References $_POST, $key, ilObjectGUI\$objDefinition, $rolf_ref_id, $start, ilObjectGUI\$tree, checkAccess(), isChangeExistingObjectsConfirmationRequired(), ilObjRole\MODE_PROTECTED_KEEP_LOCAL_POLICIES, ilObjRole\MODE_UNPROTECTED_KEEP_LOCAL_POLICIES, ilUtil\sendSuccess(), showChangeExistingObjectsConfirmation(), and ilUtil\tf2yn().
|
protected |
Read role properties and write them to form.
object | $role |
Definition at line 542 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().
ilObjRoleGUI::saveObject | ( | ) |
Save new role.
Reimplemented from ilObjectGUI.
Definition at line 719 of file class.ilObjRoleGUI.php.
References $rolf_ref_id, checkDuplicate(), initFormRoleProperties(), loadRoleProperties(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjRoleGUI::searchObject | ( | ) |
Definition at line 2077 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().
ilObjRoleGUI::searchUserFormObject | ( | ) |
Definition at line 2014 of file class.ilObjRoleGUI.php.
References $_POST, $_SESSION, __unsetSessionVariables(), checkAccess(), and ilUtil\formRadioButton().
Referenced by searchObject().
ilObjRoleGUI::selectDesktopItemObject | ( | ) |
Definition at line 372 of file class.ilObjRoleGUI.php.
References $_GET, ilObjectGUI\$tree, ilObjectGUI\__showButton(), listDesktopItemsObject(), ilUtil\sendFailure(), ilUtil\sendInfo(), and USER_FOLDER_ID.
Referenced by assignDesktopItemObject().
ilObjRoleGUI::setBackTarget | ( | $a_text, | |
$a_link | |||
) |
set back tab target
Definition at line 165 of file class.ilObjRoleGUI.php.
|
protected |
Show confirmation screen.
Definition at line 2828 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().
|
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::showUpperIcon | ( | ) |
Reimplemented from ilObjectGUI.
Definition at line 2671 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 774 of file class.ilObjRoleGUI.php.
References checkDuplicate(), initFormRoleProperties(), loadRoleProperties(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjRoleGUI::updateObject2 | ( | ) |
update role object
public
Definition at line 1718 of file class.ilObjRoleGUI.php.
References $_POST, ilObjectGUI\$tree, ilFormat\_getSizeMagnitude(), ilDiskQuotaActivationChecker\_isActive(), checkAccess(), ilUtil\sendSuccess(), ilUtil\stripSlashes(), and ilUtil\tf2yn().
ilObjRoleGUI::userassignmentObject | ( | ) |
display user assignment panel
Definition at line 1803 of file class.ilObjRoleGUI.php.
References $_GET, $user, $ut, __showAssignedUsersTable(), and checkAccess().
|
protected |
Definition at line 41 of file class.ilObjRoleGUI.php.
Referenced by getContainerType().
ilObjRoleGUI::$ctrl |
Definition at line 44 of file class.ilObjRoleGUI.php.
|
protected |
Definition at line 40 of file class.ilObjRoleGUI.php.
ilObjRoleGUI::$rolf_ref_id |
Definition at line 38 of file class.ilObjRoleGUI.php.
Referenced by addUserObject(), adoptPermSaveObject(), assignUserObject(), 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.