|
ILIAS
Release_3_10_x_branch Revision 61812
|
Class ilObjUserGUI. More...
Inheritance diagram for ilObjUserGUI:
Collaboration diagram for ilObjUserGUI:Public Member Functions | |
| ilObjUserGUI ($a_data, $a_id, $a_call_by_reference=false, $a_prepare_output=true) | |
| Constructor public. | |
| & | executeCommand () |
| execute command | |
| setTitleAndDescription () | |
| called by prepare output | |
| cancelObject () | |
| getAdminTabs (&$tabs_gui) | |
| admin and normal tabs are equal for roles | |
| getTabs (&$tabs_gui) | |
| get tabs | |
| setBackTarget ($a_text, $a_link) | |
| set back tab target | |
| __checkUserDefinedRequiredFields () | |
| display user create form | |
| __showUserDefinedFields () | |
| initCreate () | |
| createObject () | |
| Display user create form. | |
| saveObject () | |
| save user data public | |
| editObject () | |
| Display user edit form. | |
| updateObject () | |
| Update user. | |
| getValues () | |
| Get values from user object and put them into form. | |
| initForm ($a_mode) | |
| Init user form. | |
| editOldObject () | |
| display user edit form | |
| uploadUserPictureObject () | |
| upload user image | |
| removeUserPictureObject () | |
| remove user image | |
| updateObjectOld () | |
| save user data public | |
| assignSaveObject () | |
| assign users to role | |
| roleassignmentObject () | |
| display roleassignment panel | |
| __getDateSelect ($a_type, $a_varname, $a_selected) | |
| __toUnix ($a_time_arr) | |
| __showRolesTable ($a_result_set, $a_role_ids=NULL) | |
| & | __initTableGUI () |
| __setTableGUIBasicData (&$tbl, &$result_set, $from="") | |
| standard implementation for tables use 'from' variable use different initial setting of table | |
| __unsetSessionVariables () | |
| __buildFilterSelect () | |
| hitsperpageObject () | |
| addAdminLocatorItems () | |
| should be overwritten to add object specific items (repository items are preloaded) | |
| showUpperIcon () | |
| __sendProfileMail () | |
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 | |
| assignObject () | |
| prepareOutput () | |
| prepare output | |
| showMountWebfolderIcon () | |
| setTabs () | |
| set admin tabs public | |
| setAdminTabs () | |
| set admin tabs public | |
| getHTML () | |
| setActions ($a_actions="") | |
| set possible actions for objects in list. | |
| setSubObjects ($a_sub_objects="") | |
| set possible subobjects for this object. | |
| setLocator () | |
| set Locator | |
| addLocatorItems () | |
| should be overwritten to add object specific items (repository items are preloaded) | |
| omitLocator ($a_omit=true) | |
| undeleteObject () | |
| get object back from trash | |
| insertSavedNodes ($a_source_id, $a_dest_id, $a_tree_id, &$a_affected_ids) | |
| recursive method to insert all saved nodes of the clipboard (maybe this function could be moved to a rbac class ?) | |
| confirmedDeleteObject () | |
| confirmed deletion if object -> objects are moved to trash | |
| cancelDeleteObject () | |
| cancel deletion of object | |
| removeFromSystemObject () | |
| remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
| removeDeletedNodes ($a_node_id, $a_checked, $a_delete_objects, &$a_affected_ids) | |
| remove already deleted objects within the objects in trash recursive function | |
| cancelObject ($in_rep=false) | |
| cancel action and go back to previous page public | |
| importObject () | |
| import new object form | |
| displayEditForm ($fields) | |
| display edit form (usually called by editObject) | |
| afterUpdate () | |
| permObject () | |
| show permissions of current node | |
| getFormAction ($a_cmd, $a_formaction="") | |
| get form action for command (command is method name without "Object", e.g. | |
| 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 | |
| permSaveObject () | |
| save permissions | |
| isVisible ($a_ref_id, $a_type) | |
| displayList () | |
| display object list | |
| viewObject () | |
| list childs of current object | |
| deleteObject ($a_error=false) | |
| display deletion confirmation screen only for referenced objects. | |
| trashObject () | |
| show trash content of object | |
| addRoleObject () | |
| adds a local role This method is only called when choose the option 'you may add local roles'. | |
| showActions ($with_subobjects=false) | |
| show possible action (form buttons) | |
| getActions () | |
| Get Actions. | |
| showPossibleSubObjects () | |
| show possible subobjects (pulldown menu) | |
| getTemplateFile ($a_cmd, $a_type="") | |
| get a template blockfile format: tpl. | |
| getTitlesByRefId ($a_ref_ids) | |
| get Titles of objects this method is used for error messages in methods cut/copy/paste | |
| __showButton ($a_cmd, $a_text, $a_target= '') | |
| __showClipboardTable ($a_result_set, $a_from="") | |
| infoObject () | |
| __buildRoleFilterSelect () | |
| __filterRoles ($a_roles, $a_filter) | |
| ownerObject () | |
| changeOwnerObject () | |
| 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. | |
| cloneAllObject () | |
| Clone single (not container object) Method is overwritten in ilContainerGUI. | |
| copyWizardHasOptions ($a_mode) | |
| Check if there is any modules specific option. | |
| getCenterColumnHTML () | |
| Get center column. | |
| getRightColumnHTML () | |
| Display right column. | |
| setColumnSettings ($column_gui) | |
| May be overwritten in subclasses. | |
| checkPermission ($a_perm, $a_cmd="") | |
Data Fields | |
| $ilCtrl | |
| $gender | |
| $type | |
| $user_ref_id | |
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 | |
Additional Inherited Members | |
Protected Member Functions inherited from ilObjectGUI | |
| searchCloneSourceObject () | |
| Search clone source by title. | |
| buildCloneSelect ($existing_objs) | |
| Build a select box for clonable objects (permission write) | |
Class ilObjUserGUI.
ilObjUserGUI: ilLearningProgressGUI, ilObjiLincUserGUI
Definition at line 37 of file class.ilObjUserGUI.php.
| ilObjUserGUI::__buildFilterSelect | ( | ) |
Definition at line 3263 of file class.ilObjUserGUI.php.
References $_SESSION, and formSelect().
Referenced by roleassignmentObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjUserGUI::__checkUserDefinedRequiredFields | ( | ) |
display user create form
Definition at line 726 of file class.ilObjUserGUI.php.
References ilUserDefinedFields\_getInstance().
Referenced by updateObjectOld().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjUserGUI::__getDateSelect | ( | $a_type, | |
| $a_varname, | |||
| $a_selected | |||
| ) |
Definition at line 3116 of file class.ilObjUserGUI.php.
References formSelect().
Referenced by editOldObject().
Here is the call graph for this function:
Here is the caller graph for this function:| & ilObjUserGUI::__initTableGUI | ( | ) |
Reimplemented from ilObjectGUI.
Definition at line 3233 of file class.ilObjUserGUI.php.
Referenced by __showRolesTable().
Here is the caller graph for this function:| ilObjUserGUI::__sendProfileMail | ( | ) |
Definition at line 3342 of file class.ilObjUserGUI.php.
References ilObjectGUI\$ilias, and ilLanguage\loadLanguageModule().
Referenced by updateObject(), and updateObjectOld().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjUserGUI::__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 3240 of file class.ilObjUserGUI.php.
References $_GET.
Referenced by __showRolesTable().
Here is the caller graph for this function:| ilObjUserGUI::__showRolesTable | ( | $a_result_set, | |
$a_role_ids = NULL |
|||
| ) |
Definition at line 3176 of file class.ilObjUserGUI.php.
References ilObjectGUI\$actions, ilObjectGUI\$tpl, __initTableGUI(), __setTableGUIBasicData(), ilUtil\array_php2js(), and ilUtil\getImagePath().
Referenced by roleassignmentObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjUserGUI::__showUserDefinedFields | ( | ) |
Definition at line 742 of file class.ilObjUserGUI.php.
References $_SESSION, ilUserDefinedFields\_getInstance(), ilUtil\formSelect(), ilUtil\prepareFormOutput(), and UDF_TYPE_TEXT.
Referenced by editOldObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjUserGUI::__toUnix | ( | $a_time_arr | ) |
Definition at line 3166 of file class.ilObjUserGUI.php.
Referenced by editOldObject(), and updateObjectOld().
Here is the caller graph for this function:| ilObjUserGUI::__unsetSessionVariables | ( | ) |
Definition at line 3258 of file class.ilObjUserGUI.php.
References $_SESSION.
| ilObjUserGUI::addAdminLocatorItems | ( | ) |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 3285 of file class.ilObjUserGUI.php.
References $_GET, ilFrameTargetInfo\_getFrame(), ilObject\_lookupObjId(), and USER_FOLDER_ID.
Here is the call graph for this function:| ilObjUserGUI::assignSaveObject | ( | ) |
assign users to role
public
Definition at line 2928 of file class.ilObjUserGUI.php.
References $_GET, and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjUserGUI::cancelObject | ( | ) |
Definition at line 142 of file class.ilObjUserGUI.php.
References $_GET, and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjUserGUI::createObject | ( | ) |
Display user create form.
Reimplemented from ilObjectGUI.
Definition at line 861 of file class.ilObjUserGUI.php.
References ilObjectGUI\$tpl, initCreate(), and initForm().
Here is the call graph for this function:| ilObjUserGUI::editObject | ( | ) |
Display user edit form.
public
Reimplemented from ilObjectGUI.
Definition at line 1018 of file class.ilObjUserGUI.php.
References $ilCtrl, ilObjectGUI\$ilias, $ilSetting, getValues(), initForm(), and USER_FOLDER_ID.
Referenced by removeUserPictureObject(), and updateObjectOld().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjUserGUI::editOldObject | ( | ) |
display user edit form
public
Definition at line 1684 of file class.ilObjUserGUI.php.
References $_SESSION, ilObjectGUI\$data, $gender, ilObjectGUI\$ilias, $ilSetting, __getDateSelect(), __showUserDefinedFields(), __toUnix(), ilAuthUtils\_allowPasswordModificationByAuthMode(), ilAuthUtils\_getActiveAuthModes(), ilAuthUtils\_getAuthMode(), ilAuthUtils\_getAuthModeName(), ilAuthUtils\_isExternalAccountEnabled(), ilObjStyleSettings\_lookupActivatedStyle(), ilObjUser\_lookupLogin(), ilUtil\formCheckbox(), ilObjectGUI\getTargetFrame(), ilObjectGUI\getTemplateFile(), ilUtil\getUsersOnline(), ilUtil\getWebspaceDir(), ilUtil\prepareFormOutput(), and USER_FOLDER_ID.
Here is the call graph for this function:| & ilObjUserGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 87 of file class.ilObjUserGUI.php.
References $cmd, LP_MODE_USER_FOLDER, ilObjectGUI\prepareOutput(), and USER_FOLDER_ID.
Here is the call graph for this function:| ilObjUserGUI::getAdminTabs | ( | & | $tabs_gui | ) |
admin and normal tabs are equal for roles
Reimplemented from ilObjectGUI.
Definition at line 163 of file class.ilObjUserGUI.php.
References getTabs().
Here is the call graph for this function:| ilObjUserGUI::getTabs | ( | & | $tabs_gui | ) |
get tabs
Reimplemented from ilObjectGUI.
Definition at line 171 of file class.ilObjUserGUI.php.
References $_GET, $_SESSION, and ilObjUserTracking\_enabledLearningProgress().
Referenced by getAdminTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjUserGUI::getValues | ( | ) |
Get values from user object and put them into form.
Definition at line 1193 of file class.ilObjUserGUI.php.
References ilObjectGUI\$data, ilUserDefinedFields\_getInstance(), ilObjUser\_lookupLogin(), ilFormat\formatDate(), ilDateTime\get(), IL_CAL_FKT_DATE, and IL_CAL_UNIX.
Referenced by editObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjUserGUI::hitsperpageObject | ( | ) |
Reimplemented from ilObjectGUI.
Definition at line 3275 of file class.ilObjUserGUI.php.
References roleassignmentObject().
Here is the call graph for this function:| ilObjUserGUI::ilObjUserGUI | ( | $a_data, | |
| $a_id, | |||
$a_call_by_reference = false, |
|||
$a_prepare_output = true |
|||
| ) |
Constructor public.
Definition at line 66 of file class.ilObjUserGUI.php.
References $ilCtrl, ilObjectGUI\$ref_id, and ilObjectGUI\ilObjectGUI().
Here is the call graph for this function:| ilObjUserGUI::initCreate | ( | ) |
Definition at line 790 of file class.ilObjUserGUI.php.
References ilObjectGUI\$tpl, ilObjRole\_getAssignUsersStatus(), and USER_FOLDER_ID.
Referenced by createObject(), and saveObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjUserGUI::initForm | ( | $a_mode | ) |
Init user form.
Definition at line 1297 of file class.ilObjUserGUI.php.
References $ilCtrl, $ilSetting, $lang, ilObjectGUI\$lng, ilAuthUtils\_getActiveAuthModes(), ilAuthUtils\_getAuthModeName(), ilUserDefinedFields\_getInstance(), ilObjUser\_getPersonalPicturePath(), ilAuthUtils\_isExternalAccountEnabled(), ilObjStyleSettings\_lookupActivatedStyle(), ilCheckboxInputGUI\setChecked(), ilImageFileInputGUI\setImage(), ilSelectInputGUI\setOptions(), ilFormPropertyGUI\setRequired(), ilTextAreaInputGUI\setRows(), ilDateTimeInputGUI\setShowTime(), ilPasswordInputGUI\setSize(), ilTextInputGUI\setSize(), ilCheckboxInputGUI\setValue(), and UDF_TYPE_TEXT.
Referenced by createObject(), editObject(), saveObject(), and updateObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjUserGUI::removeUserPictureObject | ( | ) |
remove user image
Definition at line 2405 of file class.ilObjUserGUI.php.
References $file, editObject(), ilUtil\getWebspaceDir(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjUserGUI::roleassignmentObject | ( | ) |
display roleassignment panel
public
Definition at line 2995 of file class.ilObjUserGUI.php.
References $_SESSION, __buildFilterSelect(), __showRolesTable(), and ilObjRole\_getTranslation().
Referenced by hitsperpageObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjUserGUI::saveObject | ( | ) |
save user data public
Reimplemented from ilObjectGUI.
Definition at line 880 of file class.ilObjUserGUI.php.
References $_GET, $ilSetting, ilObjectGUI\$tpl, ilAuthUtils\_isExternalAccountEnabled(), ilDateTime\get(), IL_CAL_DATETIME, IL_CAL_UNIX, IL_PASSWD_PLAIN, initCreate(), initForm(), ilUtil\sendInfo(), and uploadUserPictureObject().
Here is the call graph for this function:| ilObjUserGUI::setBackTarget | ( | $a_text, | |
| $a_link | |||
| ) |
set back tab target
Definition at line 217 of file class.ilObjUserGUI.php.
| ilObjUserGUI::setTitleAndDescription | ( | ) |
called by prepare output
Reimplemented from ilObjectGUI.
Definition at line 126 of file class.ilObjUserGUI.php.
References ilUtil\getImagePath().
Here is the call graph for this function:| ilObjUserGUI::showUpperIcon | ( | ) |
Reimplemented from ilObjectGUI.
Definition at line 3322 of file class.ilObjUserGUI.php.
References $_GET, ilObjectGUI\$objDefinition, ilObjectGUI\$tpl, and ilObjectGUI\$tree.
| ilObjUserGUI::updateObject | ( | ) |
Update user.
Reimplemented from ilObjectGUI.
Definition at line 1058 of file class.ilObjUserGUI.php.
References $_GET, ilObjectGUI\$ilias, ilObjectGUI\$tpl, __sendProfileMail(), ilAuthUtils\_allowPasswordModificationByAuthMode(), ilAuthUtils\_getAuthMode(), ilSecuritySettings\_getInstance(), ilObjUser\_resetLoginAttempts(), ilSecuritySettings\ACCOUNT_SECURITY_MODE_CUSTOMIZED, ilDateTime\get(), IL_CAL_DATETIME, IL_CAL_UNIX, IL_PASSWD_PLAIN, initForm(), ilUtil\sendInfo(), uploadUserPictureObject(), and USER_FOLDER_ID.
Here is the call graph for this function:| ilObjUserGUI::updateObjectOld | ( | ) |
save user data public
Does input checks and updates a user account if everything is fine. public
Definition at line 2680 of file class.ilObjUserGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$ilias, __checkUserDefinedRequiredFields(), __sendProfileMail(), __toUnix(), ilAuthUtils\_allowPasswordModificationByAuthMode(), ilObjUser\_checkExternalAuthAccount(), ilAuthUtils\_getAuthMode(), ilObjUser\_loginExists(), ilAuthUtils\_needsExternalAccountByAuthMode(), editObject(), IL_PASSWD_PLAIN, ilUtil\is_email(), ilUtil\isLogin(), ilUtil\isPassword(), ilUtil\sendInfo(), ilUtil\stripSlashes(), and USER_FOLDER_ID.
Here is the call graph for this function:| ilObjUserGUI::uploadUserPictureObject | ( | ) |
upload user image
(original method by ratana ty)
Definition at line 2329 of file class.ilObjUserGUI.php.
References ilUtil\escapeShellArg(), ilUtil\getConvertCmd(), ilUtil\getWebspaceDir(), ilUtil\moveUploadedFile(), ilUtil\sendInfo(), and USER_FOLDER_ID.
Referenced by saveObject(), and updateObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjUserGUI::$gender |
Definition at line 46 of file class.ilObjUserGUI.php.
Referenced by editOldObject().
| ilObjUserGUI::$ilCtrl |
Definition at line 39 of file class.ilObjUserGUI.php.
Referenced by editObject(), ilObjUserGUI(), and initForm().
| ilObjUserGUI::$type |
Definition at line 53 of file class.ilObjUserGUI.php.
| ilObjUserGUI::$user_ref_id |
Definition at line 60 of file class.ilObjUserGUI.php.