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
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

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

doExecute ( )
protected
See also
Controller::doExecute()

Definition at line 45 of file UserController.php.

changePassword ( User  $user,
  $oldPassword,
  $newPassword,
  $newPasswordRepeated 
)

Change a users password.

Parameters
$userThe User instance
$oldPasswordThe old password of the user
$newPasswordThe new password for the user
$newPasswordRepeatedThe new password of the user again

Definition at line 88 of file UserController.php.