|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class ilObjUserGUI. More...
Inheritance diagram for ilObjUserGUI:
Collaboration diagram for ilObjUserGUI:Public Member Functions | |
| executeCommand () | |
| cancelObject () | |
| cancel action and go back to previous page More... | |
| getAdminTabs () | |
| administration tabs show only permissions and trash folder More... | |
| createObject () | |
| Display user create form. More... | |
| saveObject () | |
| save user data More... | |
| updateObject () | |
| updates object entry in object_data More... | |
| editObject () | |
| removeUserPictureObject () | |
| assignSaveObject () | |
| roleassignmentObject () | |
| applyFilterObject () | |
| resetFilterObject () | |
| __getDateSelect (string $a_type, string $a_varname, string $a_selected) | |
| __toUnix (array $a_time_arr) | |
| __unsetSessionVariables () | |
| __buildFilterSelect () | |
| __sendProfileMail () | |
Public Member Functions inherited from ilObjectGUI | |
| getRefId () | |
| setAdminMode (string $mode) | |
| getAdminMode () | |
| getObject () | |
| executeCommand () | |
| withReferences () | |
| determines whether objects are referenced or not (got ref ids or not) More... | |
| setCreationMode (bool $mode=true) | |
| If true, a creation screen is displayed the current [ref_id] does belong to the parent class The mode is determined in ilRepositoryGUI. More... | |
| getCreationMode () | |
| prepareOutput (bool $show_sub_objects=true) | |
| 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... | |
| cancelObject () | |
| cancel action and go back to previous page More... | |
| createObject () | |
| create new object form More... | |
| editAvailabilityPeriodObject () | |
| saveAvailabilityPeriodObject () | |
| cancelCreation () | |
| cancel create action and go back to repository parent More... | |
| saveObject () | |
| getDidacticTemplateVar (string $type) | |
| Get didactic template setting from creation screen. More... | |
| putObjectInTree (ilObject $obj, ?int $parent_node_id=null) | |
| Add object to tree at given position. More... | |
| editObject () | |
| addExternalEditFormCustom (ilPropertyFormGUI $form) | |
| updateObject () | |
| updates object entry in object_data More... | |
| getFormAction (string $cmd, string $default_form_action="") | |
| Get form action for command (command is method name without "Object", e.g. More... | |
| isVisible (int $ref_id, string $type) | |
| viewObject () | |
| viewObject container presentation for "administration -> repository, trash, permissions" More... | |
| deleteObject (bool $error=false) | |
| Display deletion confirmation screen. More... | |
| setColumnSettings (ilColumnGUI $column_gui) | |
| addToDeskObject () | |
| removeFromDeskObject () | |
Public Member Functions inherited from ILIAS\Object\ImplementsCreationCallback | |
| callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb) | |
Protected Member Functions | |
| setTitleAndDescription () | |
| getTabs () | |
| @abstract overwrite in derived GUI class of your object type More... | |
| addAdminLocatorItems (bool $do_not_add_object=false) | |
| should be overwritten to add object specific items (repository items are preloaded) More... | |
Protected Member Functions inherited from ilObjectGUI | |
| getObjectService () | |
| assignObject () | |
| setTitleAndDescription () | |
| createActionDispatcherGUI () | |
| initHeaderAction (?string $sub_type=null, ?int $sub_id=null) | |
| Add header action menu. More... | |
| insertHeaderAction (?ilObjectListGUI $list_gui=null) | |
| Insert header action into main template. More... | |
| addHeaderAction () | |
| Add header action menu. More... | |
| redrawHeaderActionObject () | |
| Ajax call: redraw action header only. More... | |
| setTabs () | |
| set admin tabs More... | |
| setAdminTabs () | |
| set admin tabs More... | |
| setLocator () | |
| addLocatorItems () | |
| should be overwritten to add object specific items (repository items are preloaded) More... | |
| omitLocator (bool $omit=true) | |
| addAdminLocatorItems (bool $do_not_add_object=false) | |
| should be overwritten to add object specific items (repository items are preloaded) More... | |
| getCreationFormsHTML (StandardForm|ilPropertyFormGUI|array $form) | |
| getTitleForCreationFormPage () | |
| getCreationFormTitle () | |
| initCreateForm (string $new_type) | |
| didacticTemplatesToForm () | |
| initDidacticTemplate (ilPropertyFormGUI $form) | |
| retrieveAdditionalDidacticTemplateOptions () | |
| addAdoptContentLinkToToolbar () | |
| addImportButtonToToolbar () | |
| addAvailabilityPeriodButtonToToolbar (ilToolbarGUI $toolbar) | |
| parseDidacticTemplateVar (string $var, string $type) | |
| afterSave (ilObject $new_object) | |
| Post (successful) object creation hook. More... | |
| initEditForm () | |
| initEditCustomForm (ilPropertyFormGUI $a_form) | |
| Add custom fields to update form. More... | |
| getEditFormValues () | |
| getEditFormCustomValues (array &$a_values) | |
| Add values to custom edit fields. More... | |
| validateCustom (ilPropertyFormGUI $form) | |
| Validate custom values (if not possible with checkInput()) More... | |
| updateCustom (ilPropertyFormGUI $form) | |
| Insert custom update form values into object. More... | |
| afterUpdate () | |
| Post (successful) object update hook. More... | |
| routeImportCmdObject () | |
| importFile (string $file_to_import, string $path_to_uploaded_file_in_temp_dir) | |
| deleteUploadedImportFile (string $path_to_uploaded_file_in_temp_dir) | |
| afterImport (ilObject $new_object) | |
| Post (successful) object import hook. More... | |
| setFormAction (string $cmd, string $form_action) | |
| getReturnLocation (string $cmd, string $default_location="") | |
| Get return location for command (command is method name without "Object", e.g. More... | |
| setReturnLocation (string $cmd, string $location) | |
| set specific return location for command More... | |
| getTargetFrame (string $cmd, string $default_target_frame="") | |
| get target frame for command (command is method name without "Object", e.g. More... | |
| setTargetFrame (string $cmd, string $target_frame) | |
| Set specific target frame for command. More... | |
| showPossibleSubObjects () | |
| show possible sub objects (pull down menu) More... | |
| getTabs () | |
| @abstract overwrite in derived GUI class of your object type More... | |
| redirectToRefId (int $ref_id, string $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 ["ref_id"] value of the request More... | |
| getCenterColumnHTML () | |
| Get center column. More... | |
| getRightColumnHTML () | |
| Display right column. More... | |
| checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
| checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
| enableDragDropFileUpload () | |
| Enables the file upload into this object by dropping files. More... | |
| getCreatableObjectTypes () | |
| buildAddNewItemElements (array $subtypes, string $create_target_class=ilRepositoryGUI::class, ?int $redirect_target_ref_id=null,) | |
| buildGroup (string $create_target_class, array $obj_types_in_group, string $title, array $subtypes) | |
Private Attributes | |
| ilPropertyFormGUI | $form_gui |
| UserGUIRequest | $user_request |
| ilHelpGUI | $help |
| ilTabsGUI | $tabs |
| RepositoryGUIs | $repository_guis |
| ilMailMimeSenderFactory | $mail_sender_factory |
| FileUpload | $uploads |
| ResourceStorageServices | $irss |
| ResourceStakeholder | $stakeholder |
| UserSettingsImplementation | $user_settings |
| Profile | $user_profile |
| string | $requested_letter = '' |
| string | $requested_baseClass = '' |
| string | $requested_search = '' |
| array | $selectable_roles |
| int | $default_role |
| string | $default_layout_and_style |
| int | $usrf_ref_id |
| Context | $context |
| Conductor | $legal_documents |
Class ilObjUserGUI.
Definition at line 44 of file class.ilObjUserGUI.php.
| ilObjUserGUI::__buildFilterSelect | ( | ) |
Definition at line 1110 of file class.ilObjUserGUI.php.
References ilLegacyFormElementsUtil\formSelect(), ilSession\get(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjUserGUI::__getDateSelect | ( | string | $a_type, |
| string | $a_varname, | ||
| string | $a_selected | ||
| ) |
Definition at line 1047 of file class.ilObjUserGUI.php.
References ilLegacyFormElementsUtil\formSelect(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilObjUserGUI::__sendProfileMail | ( | ) |
Definition at line 1173 of file class.ilObjUserGUI.php.
References ilMail\_getInstallationSignature(), CLIENT_ID, ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by updateObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjUserGUI::__toUnix | ( | array | $a_time_arr | ) |
Definition at line 1093 of file class.ilObjUserGUI.php.
| ilObjUserGUI::__unsetSessionVariables | ( | ) |
Definition at line 1105 of file class.ilObjUserGUI.php.
References ilSession\clear().
Here is the call graph for this function:
|
protected |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 1132 of file class.ilObjUserGUI.php.
References ilFrameTargetInfo\_getFrame(), ilObject\_lookupObjId(), ilObject\_lookupType(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\locator(), ILIAS\Repository\object(), ROLE_FOLDER_ID, SYSTEM_FOLDER_ID, and USER_FOLDER_ID.
Here is the call graph for this function:
|
private |
Definition at line 826 of file class.ilObjUserGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
private |
Definition at line 807 of file class.ilObjUserGUI.php.
|
private |
Definition at line 765 of file class.ilObjUserGUI.php.
|
private |
Definition at line 785 of file class.ilObjUserGUI.php.
References ilObjUser\setTimeLimitOwner().
Referenced by saveObject(), and updateObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjUserGUI::applyFilterObject | ( | ) |
Definition at line 1031 of file class.ilObjUserGUI.php.
| ilObjUserGUI::assignSaveObject | ( | ) |
Definition at line 927 of file class.ilObjUserGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), SYSTEM_ROLE_ID, and SYSTEM_USER_ID.
Here is the call graph for this function:
|
private |
Definition at line 619 of file class.ilObjUserGUI.php.
References ilAuthUtils\_getAuthModeName(), ilAuthUtils\getAuthModeTranslation(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 676 of file class.ilObjUserGUI.php.
|
private |
Definition at line 642 of file class.ilObjUserGUI.php.
|
private |
Definition at line 610 of file class.ilObjUserGUI.php.
|
private |
Definition at line 656 of file class.ilObjUserGUI.php.
|
private |
Definition at line 603 of file class.ilObjUserGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 735 of file class.ilObjUserGUI.php.
|
private |
Definition at line 713 of file class.ilObjUserGUI.php.
|
private |
Definition at line 690 of file class.ilObjUserGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjUserGUI::cancelObject | ( | ) |
cancel action and go back to previous page
Reimplemented from ilObjectGUI.
Definition at line 169 of file class.ilObjUserGUI.php.
References ilSession\clear(), and ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
private |
Definition at line 1375 of file class.ilObjUserGUI.php.
References ILIAS\Repository\access(), ANONYMOUS_USER_ID, ILIAS\Repository\int(), ILIAS\Repository\object(), ilObjUserFolder\ORG_OP_EDIT_USER_ACCOUNTS, and USER_FOLDER_ID.
Referenced by getTabs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1335 of file class.ilObjUserGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilObjUserFolder\ORG_OP_EDIT_USER_ACCOUNTS, ilObjUserFolder\PERM_READ_ALL_AND_WRITE, and USER_FOLDER_ID.
Referenced by editObject(), and updateObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjUserGUI::createObject | ( | ) |
Display user create form.
Reimplemented from ilObjectGUI.
Definition at line 307 of file class.ilObjUserGUI.php.
References initCreate(), initForm(), ILIAS\Repository\lng(), redirectDependingOnParent(), and renderForm().
Here is the call graph for this function:| ilObjUserGUI::editObject | ( | ) |
Reimplemented from ilObjectGUI.
Definition at line 511 of file class.ilObjUserGUI.php.
References checkUserWritePermission(), initForm(), renderForm(), and USER_FOLDER_ID.
Here is the call graph for this function:| ilObjUserGUI::executeCommand | ( | ) |
Reimplemented from ilObjectGUI.
Definition at line 120 of file class.ilObjUserGUI.php.
References ILIAS\Repository\ctrl(), ilLearningProgressBaseGUI\LP_CONTEXT_USER_FOLDER, ILIAS\Repository\object(), ilObjectGUI\prepareOutput(), and USER_FOLDER_ID.
Here is the call graph for this function:| ilObjUserGUI::getAdminTabs | ( | ) |
administration tabs show only permissions and trash folder
Reimplemented from ilObjectGUI.
Definition at line 180 of file class.ilObjUserGUI.php.
References getTabs().
Here is the call graph for this function:
|
protected |
@abstract overwrite in derived GUI class of your object type
Reimplemented from ilObjectGUI.
Definition at line 185 of file class.ilObjUserGUI.php.
References ilObjUserTracking\_enabledLearningProgress(), ilObjUserTracking\_enabledUserRelatedData(), checkAccessToRolesTab(), ILIAS\Repository\ctrl(), ilSession\get(), ILIAS\Repository\help(), ILIAS\Repository\lng(), and ilObjUserFolder\PERM_READ_ALL.
Referenced by getAdminTabs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Handles ignored required fields by changing the required flag of form elements.
Definition at line 1298 of file class.ilObjUserGUI.php.
|
private |
Definition at line 246 of file class.ilObjUserGUI.php.
References ilObjRole\_getAssignUsersStatus(), ANONYMOUS_ROLE_ID, ILIAS\Repository\lng(), ILIAS\Repository\object(), redirectDependingOnParent(), ROLE_FOLDER_ID, SYSTEM_ROLE_ID, 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:
|
private |
Init user form.
Definition at line 527 of file class.ilObjUserGUI.php.
References ILIAS\Repository\lng().
Referenced by createObject(), editObject(), saveObject(), and updateObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1412 of file class.ilObjUserGUI.php.
References IL_CAL_UNIX, and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 844 of file class.ilObjUserGUI.php.
References ILIAS\FileUpload\FileUpload\getResults(), and ILIAS\Repository\object().
Here is the call graph for this function:
|
private |
Definition at line 1403 of file class.ilObjUserGUI.php.
References ILIAS\Repository\ctrl(), and USER_FOLDER_ID.
Referenced by createObject(), and initCreate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjUserGUI::removeUserPictureObject | ( | ) |
Definition at line 893 of file class.ilObjUserGUI.php.
References ilFileUtils\getWebspaceDir(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 1370 of file class.ilObjUserGUI.php.
Referenced by createObject(), editObject(), saveObject(), and updateObject().
Here is the caller graph for this function:| ilObjUserGUI::resetFilterObject | ( | ) |
Definition at line 1039 of file class.ilObjUserGUI.php.
|
private |
Definition at line 1392 of file class.ilObjUserGUI.php.
References ILIAS\Repository\refinery().
Referenced by saveObject(), and updateObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjUserGUI::roleassignmentObject | ( | ) |
Definition at line 998 of file class.ilObjUserGUI.php.
References ILIAS\Repository\ctrl(), ilSession\get(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilSession\set(), and ILIAS\Repository\tabs().
Here is the call graph for this function:| ilObjUserGUI::saveObject | ( | ) |
save user data
Reimplemented from ilObjectGUI.
Definition at line 326 of file class.ilObjUserGUI.php.
References $new_user, ilAuthUtils\_isExternalAccountEnabled(), addValuesFromSystemInformationToUserSection(), ILIAS\Repository\ctrl(), initCreate(), initForm(), ILIAS\Repository\lng(), ilObjUser\PASSWD_PLAIN, ilObjectGUI\redirectToRefId(), renderForm(), retrieveAllowIncompleteProfileFromPost(), SYSTEM_ROLE_ID, SYSTEM_USER_ID, and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Reimplemented from ilObjectGUI.
Definition at line 155 of file class.ilObjUserGUI.php.
References ilUtil\getImagePath(), and ILIAS\Repository\object().
Here is the call graph for this function:| ilObjUserGUI::updateObject | ( | ) |
updates object entry in object_data
Reimplemented from ilObjectGUI.
Definition at line 425 of file class.ilObjUserGUI.php.
References Vendor\Package\$e, ilObjectGUI\$object, __sendProfileMail(), ilAuthUtils\_isExternalAccountEnabled(), addValuesFromSystemInformationToUserSection(), checkUserWritePermission(), ILIAS\Repository\ctrl(), initForm(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilObjUser\PASSWD_PLAIN, renderForm(), retrieveAllowIncompleteProfileFromPost(), SYSTEM_ROLE_ID, SYSTEM_USER_ID, and ILIAS\Repository\user().
Here is the call graph for this function:
|
private |
Definition at line 68 of file class.ilObjUserGUI.php.
|
private |
Definition at line 65 of file class.ilObjUserGUI.php.
|
private |
Definition at line 64 of file class.ilObjUserGUI.php.
|
private |
Definition at line 46 of file class.ilObjUserGUI.php.
|
private |
Definition at line 48 of file class.ilObjUserGUI.php.
|
private |
Definition at line 54 of file class.ilObjUserGUI.php.
|
private |
Definition at line 69 of file class.ilObjUserGUI.php.
|
private |
Definition at line 51 of file class.ilObjUserGUI.php.
|
private |
Definition at line 50 of file class.ilObjUserGUI.php.
|
private |
Definition at line 61 of file class.ilObjUserGUI.php.
|
private |
Definition at line 60 of file class.ilObjUserGUI.php.
|
private |
Definition at line 62 of file class.ilObjUserGUI.php.
|
private |
Definition at line 63 of file class.ilObjUserGUI.php.
|
private |
Definition at line 55 of file class.ilObjUserGUI.php.
|
private |
Definition at line 49 of file class.ilObjUserGUI.php.
|
private |
Definition at line 53 of file class.ilObjUserGUI.php.
|
private |
Definition at line 58 of file class.ilObjUserGUI.php.
|
private |
Definition at line 47 of file class.ilObjUserGUI.php.
|
private |
Definition at line 57 of file class.ilObjUserGUI.php.
|
private |
Definition at line 67 of file class.ilObjUserGUI.php.