ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Class ilObjUserGUI. More...
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 () | |
![]() | |
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 () | |
![]() | |
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... | |
![]() | |
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 Member Functions | |
initCreate () | |
initForm (bool $do_require, ?\ilObjUser $user) | |
Init user form. More... | |
buildSectionHeader (string $title_lang_var) | |
buildNonEditableInput (string $identifier, string $value) | |
buildAuthModeInput (?\ilObjUser $user) | |
buildLoginInput (?\ilObjUser $user) | |
buildPasswordInput (?\ilObjUser $user) | |
buildExternalAccountInput (?\ilObjUser $user) | |
buildTimeLimitInput (?\ilObjUser $user) | |
buildTimeLimitDateInputs (?\ilObjUser $user) | |
buildStatisticalInputs (?\ilObjUser $user) | |
addSystemInformationSectionToForm (?\ilObjUser $user) | |
addValuesFromSystemInformationToUserSection (\ilObjUser $user, bool $user_creation) | |
addStatisticalInformationToForm (?\ilObjUser $user) | |
addOptionsSectionToForm () | |
moveFileToStorage () | |
handleIgnoredRequiredFields () | |
Handles ignored required fields by changing the required flag of form elements. More... | |
checkUserWritePermission () | |
renderForm () | |
checkAccessToRolesTab () | |
retrieveAllowIncompleteProfileFromPost () | |
redirectDependingOnParent () | |
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 1098 of file class.ilObjUserGUI.php.
References ilLegacyFormElementsUtil\formSelect(), ilSession\get(), and ILIAS\Repository\lng().
ilObjUserGUI::__getDateSelect | ( | string | $a_type, |
string | $a_varname, | ||
string | $a_selected | ||
) |
Definition at line 1035 of file class.ilObjUserGUI.php.
References ilLegacyFormElementsUtil\formSelect(), and ILIAS\Repository\int().
ilObjUserGUI::__sendProfileMail | ( | ) |
Definition at line 1161 of file class.ilObjUserGUI.php.
References ilMail\_getInstallationSignature(), CLIENT_ID, ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by updateObject().
ilObjUserGUI::__toUnix | ( | array | $a_time_arr | ) |
Definition at line 1081 of file class.ilObjUserGUI.php.
ilObjUserGUI::__unsetSessionVariables | ( | ) |
Definition at line 1093 of file class.ilObjUserGUI.php.
References ilSession\clear().
|
protected |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 1120 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.
|
private |
Definition at line 814 of file class.ilObjUserGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\user().
|
private |
Definition at line 798 of file class.ilObjUserGUI.php.
|
private |
Definition at line 756 of file class.ilObjUserGUI.php.
|
private |
Definition at line 776 of file class.ilObjUserGUI.php.
References ilObjUser\setTimeLimitOwner().
Referenced by saveObject(), and updateObject().
ilObjUserGUI::applyFilterObject | ( | ) |
Definition at line 1019 of file class.ilObjUserGUI.php.
ilObjUserGUI::assignSaveObject | ( | ) |
Definition at line 915 of file class.ilObjUserGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), SYSTEM_ROLE_ID, and SYSTEM_USER_ID.
|
private |
Definition at line 610 of file class.ilObjUserGUI.php.
References ilAuthUtils\_getAuthModeName(), ilAuthUtils\getAuthModeTranslation(), and ILIAS\Repository\lng().
|
private |
Definition at line 667 of file class.ilObjUserGUI.php.
|
private |
Definition at line 633 of file class.ilObjUserGUI.php.
|
private |
Definition at line 601 of file class.ilObjUserGUI.php.
|
private |
Definition at line 647 of file class.ilObjUserGUI.php.
|
private |
Definition at line 594 of file class.ilObjUserGUI.php.
References ILIAS\Repository\lng().
|
private |
Definition at line 726 of file class.ilObjUserGUI.php.
|
private |
Definition at line 704 of file class.ilObjUserGUI.php.
|
private |
Definition at line 681 of file class.ilObjUserGUI.php.
References ILIAS\Repository\lng().
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().
|
private |
Definition at line 1367 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().
|
private |
Definition at line 1323 of file class.ilObjUserGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilObjUserFolder\ORG_OP_EDIT_USER_ACCOUNTS, and USER_FOLDER_ID.
Referenced by editObject(), and updateObject().
ilObjUserGUI::createObject | ( | ) |
Display user create form.
Reimplemented from ilObjectGUI.
Definition at line 304 of file class.ilObjUserGUI.php.
References initCreate(), initForm(), ILIAS\Repository\lng(), redirectDependingOnParent(), and renderForm().
ilObjUserGUI::editObject | ( | ) |
Reimplemented from ilObjectGUI.
Definition at line 502 of file class.ilObjUserGUI.php.
References checkUserWritePermission(), initForm(), renderForm(), and USER_FOLDER_ID.
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.
ilObjUserGUI::getAdminTabs | ( | ) |
administration tabs show only permissions and trash folder
Reimplemented from ilObjectGUI.
Definition at line 180 of file class.ilObjUserGUI.php.
References getTabs().
|
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(), and ILIAS\Repository\lng().
Referenced by getAdminTabs().
|
private |
Handles ignored required fields by changing the required flag of form elements.
Definition at line 1286 of file class.ilObjUserGUI.php.
|
private |
Definition at line 243 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().
|
private |
Init user form.
Definition at line 518 of file class.ilObjUserGUI.php.
References ILIAS\Repository\lng().
Referenced by createObject(), editObject(), saveObject(), and updateObject().
|
private |
Definition at line 832 of file class.ilObjUserGUI.php.
References ILIAS\FileUpload\FileUpload\getResults(), and ILIAS\Repository\object().
|
private |
Definition at line 1395 of file class.ilObjUserGUI.php.
References ILIAS\Repository\ctrl(), and USER_FOLDER_ID.
Referenced by createObject(), and initCreate().
ilObjUserGUI::removeUserPictureObject | ( | ) |
Definition at line 881 of file class.ilObjUserGUI.php.
References ilFileUtils\getWebspaceDir(), and ILIAS\Repository\lng().
|
private |
Definition at line 1362 of file class.ilObjUserGUI.php.
Referenced by createObject(), editObject(), saveObject(), and updateObject().
ilObjUserGUI::resetFilterObject | ( | ) |
Definition at line 1027 of file class.ilObjUserGUI.php.
|
private |
Definition at line 1384 of file class.ilObjUserGUI.php.
References ILIAS\Repository\refinery().
Referenced by saveObject(), and updateObject().
ilObjUserGUI::roleassignmentObject | ( | ) |
Definition at line 986 of file class.ilObjUserGUI.php.
References ILIAS\Repository\ctrl(), ilSession\get(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilSession\set(), and ILIAS\Repository\tabs().
ilObjUserGUI::saveObject | ( | ) |
save user data
Reimplemented from ilObjectGUI.
Definition at line 323 of file class.ilObjUserGUI.php.
References 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().
|
protected |
Reimplemented from ilObjectGUI.
Definition at line 155 of file class.ilObjUserGUI.php.
References ilUtil\getImagePath(), and ILIAS\Repository\object().
ilObjUserGUI::updateObject | ( | ) |
updates object entry in object_data
Reimplemented from ilObjectGUI.
Definition at line 420 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().
|
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.