PHP 클래스 FOS\UserBundle\Controller\UserController

상속: extends Symfony\Component\DependencyInjection\ContainerAware
파일 보기 프로젝트 열기: KnpLabs/KnpUserBundle

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
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 )

메소드 상세

authenticateUser() 보호된 메소드

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

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() 공개 메소드

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

confirmedAction() 공개 메소드

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

createAction() 공개 메소드

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

deleteAction() 공개 메소드

Delete one user
public deleteAction ( $username )

editAction() 공개 메소드

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

findUserBy() 보호된 메소드

Find a user by a specific property
protected findUserBy ( string $key, mixed $value ) : User
$key string property name
$value mixed property value
리턴 User

getEngine() 보호된 메소드

protected getEngine ( )

getPasswordRequestTtl() 보호된 메소드

protected getPasswordRequestTtl ( )

getUser() 보호된 메소드

Get a user from the security context
protected getUser ( ) : User
리턴 User

listAction() 공개 메소드

Show all users
public listAction ( )

newAction() 공개 메소드

Show the new form
public newAction ( )

requestResetPasswordAction() 공개 메소드

Request reset user password: show form

resetPasswordAction() 공개 메소드

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

resetPasswordUpdateAction() 공개 메소드

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

sendResettingEmailAction() 공개 메소드

Request reset user password: submit form and send email

setFlash() 보호된 메소드

protected setFlash ( $action, $value )

showAction() 공개 메소드

Show one user
public showAction ( $username )

updateAction() 공개 메소드

Update a user
public updateAction ( $username )