UserController Class Reference
Detailed Description
UserController is used to change the current user's password.
The controller supports the following actions:
Action default
Change the user's password.
Parameter | Description |
---|---|
in oldpassword | The old password |
in newpassword1 | The new password |
in newpassword2 | The new password |
Response Actions | |
ok | In all cases |
Definition at line 40 of file UserController.php.
Inheritance diagram for UserController:
Public Member Functions | |
changePassword (User $user, $oldPassword, $newPassword, $newPasswordRepeated) | |
Public Member Functions inherited from Controller | |
__construct (Session $session, PersistenceFacade $persistenceFacade, PermissionManager $permissionManager, ActionMapper $actionMapper, Localization $localization, Message $message, Configuration $configuration) | |
initialize (Request $request, Response $response) | |
execute ($method=null) | |
getRequest () | |
getResponse () | |
Protected Member Functions | |
doExecute () | |
Protected Member Functions inherited from Controller | |
validate () | |
executeSubAction ($action) | |
getLogger () | |
getSession () | |
getPersistenceFacade () | |
getPermissionManager () | |
getActionMapper () | |
getLocalization () | |
getMessage () | |
getConfiguration () | |
assignResponseDefaults () | |
isLocalizedRequest () | |
checkLanguageParameter () | |
Member Function Documentation
|
protected |
- See also
- Controller::doExecute()
Definition at line 45 of file UserController.php.
changePassword | ( | User | $user, |
$oldPassword, | |||
$newPassword, | |||
$newPasswordRepeated | |||
) |
Change a users password.
- Parameters
-
$user The User instance $oldPassword The old password of the user $newPassword The new password for the user $newPasswordRepeated The new password of the user again
Definition at line 88 of file UserController.php.