PHP Class FOS\UserBundle\Controller\UserController

Inheritance: extends Symfony\Component\DependencyInjection\ContainerAware
Afficher le fichier Open project: KnpLabs/KnpUserBundle

Méthodes publiques

Méthode Description
changePasswordAction ( ) Change user password: show form
changePasswordUpdateAction ( ) Change user password: submit form
checkConfirmationEmailAction ( ) Tell the user to check his email provider
checkResettingEmailAction ( ) Tell the user to check his email provider
confirmAction ( $token ) Receive the confirmation token from user email provider, login the user
confirmedAction ( ) Tell the user his account is now confirmed
createAction ( ) Create a user and send a confirmation email
deleteAction ( $username ) Delete one user
editAction ( $username ) Edit one user, show the edit form
listAction ( ) Show all users
newAction ( ) Show the new form
requestResetPasswordAction ( ) Request reset user password: show form
resetPasswordAction ( $token ) Reset user password: show form
resetPasswordUpdateAction ( $token ) Reset user password: submit form
sendResettingEmailAction ( ) Request reset user password: submit form and send email
showAction ( $username ) Show one user
updateAction ( $username ) Update a user

Méthodes protégées

Méthode Description
authenticateUser ( FOS\UserBundle\Model\UserInterface $user, boolean $reAuthenticate = false ) : null Authenticate a user with Symfony Security
findUserBy ( string $key, mixed $value ) : User Find a user by a specific property
getEngine ( )
getPasswordRequestTtl ( )
getUser ( ) : User Get a user from the security context
setFlash ( $action, $value )

Method Details

authenticateUser() protected méthode

Authenticate a user with Symfony Security
protected authenticateUser ( FOS\UserBundle\Model\UserInterface $user, boolean $reAuthenticate = false ) : null
$user FOS\UserBundle\Model\UserInterface
$reAuthenticate boolean
Résultat null

changePasswordAction() public méthode

Change user password: show form

changePasswordUpdateAction() public méthode

Change user password: submit form

checkConfirmationEmailAction() public méthode

Tell the user to check his email provider

checkResettingEmailAction() public méthode

Tell the user to check his email provider

confirmAction() public méthode

Receive the confirmation token from user email provider, login the user
public confirmAction ( $token )

confirmedAction() public méthode

Tell the user his account is now confirmed
public confirmedAction ( )

createAction() public méthode

Create a user and send a confirmation email
public createAction ( )

deleteAction() public méthode

Delete one user
public deleteAction ( $username )

editAction() public méthode

Edit one user, show the edit form
public editAction ( $username )

findUserBy() protected méthode

Find a user by a specific property
protected findUserBy ( string $key, mixed $value ) : User
$key string property name
$value mixed property value
Résultat User

getEngine() protected méthode

protected getEngine ( )

getPasswordRequestTtl() protected méthode

protected getPasswordRequestTtl ( )

getUser() protected méthode

Get a user from the security context
protected getUser ( ) : User
Résultat User

listAction() public méthode

Show all users
public listAction ( )

newAction() public méthode

Show the new form
public newAction ( )

requestResetPasswordAction() public méthode

Request reset user password: show form

resetPasswordAction() public méthode

Reset user password: show form
public resetPasswordAction ( $token )

resetPasswordUpdateAction() public méthode

Reset user password: submit form
public resetPasswordUpdateAction ( $token )

sendResettingEmailAction() public méthode

Request reset user password: submit form and send email

setFlash() protected méthode

protected setFlash ( $action, $value )

showAction() public méthode

Show one user
public showAction ( $username )

updateAction() public méthode

Update a user
public updateAction ( $username )