UserSettingsController
class UserSettingsController extends AbstractModuleController (View source)
The Neos User Settings module controller
Traits
A trait to add backend translation based on the backend users settings
Properties
protected Service | $_localizationService | from BackendUserTranslationTrait | |
protected UserService | $_userService | from BackendUserTranslationTrait | |
protected array | $moduleConfiguration | from AbstractModuleController | |
protected PrivilegeManagerInterface | $privilegeManager | ||
protected UserService | $userService | ||
protected User | $currentUser | ||
protected Translator | $translator |
Methods
Set the locale according to the user settings
No description
Use this method to set an alternative title than the module label
Index
Display no flash message at all on errors.
Edit settings of the current user
Edit the given account
Update a given account, ie. the password
Create an new electronic address
Delete an electronic address action
No description
Details
protected void
initializeObject()
Set the locale according to the user settings
protected void
initializeAction()
No description
protected void
initializeView(ViewInterface $view)
No description
void
setTitle(string $title)
Use this method to set an alternative title than the module label
void
indexAction()
Index
protected Message
getErrorFlashMessage()
Display no flash message at all on errors.
void
editAction()
Edit settings of the current user
void
updateAction(User $user)
Update the current user
void
editAccountAction(Account $account)
Edit the given account
void
updateAccountAction(array $password = [])
Update a given account, ie. the password
void
newElectronicAddressAction(User $user)
The add new electronic address action
void
createElectronicAddressAction(User $user, ElectronicAddress $electronicAddress)
Create an new electronic address
void
deleteElectronicAddressAction(User $user, ElectronicAddress $electronicAddress)
Delete an electronic address action
protected void
assignElectronicAddressOptions()
No description