PHP 클래스 Sulu\Bundle\SecurityBundle\Entity\BaseUser

상속: extends Sulu\Bundle\CoreBundle\Entity\ApiEntity, implements Sulu\Component\Security\Authentication\UserInterface, implements Serializabl\Serializable
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$apiKey string
$confirmationKey string
$email string
$enabled boolean
$id integer
$lastLogin DateTime
$locale string
$locked boolean
$password string
$passwordResetToken string
$privateKey string
$salt string
$username string

공개 메소드들

메소드 설명
__construct ( ) Constructor.
eraseCredentials ( ) Removes the password of the user.
getApiKey ( ) : string Get apiKey.
getConfirmationKey ( ) : string Get confirmationKey.
getEmail ( ) : string Get email.
getEnabled ( )
getFullName ( ) : string
getId ( ) : integer Get id.
getLastLogin ( ) : DateTime Get lastLogin.
getLocale ( ) : string Get locale.
getLocked ( )
getPassword ( ) : string Get password.
getPasswordResetToken ( ) : string Get passwordResetToken.
getPasswordResetTokenEmailsSent ( ) : integer Get passwordResetTokenEmailsSent.
getPasswordResetTokenExpiresAt ( ) : DateTime Get passwordResetTokenExpiresAt.
getPrivateKey ( ) : string Get privateKey.
getRoles ( ) : array Returns just the default symfony user role, so that the user get recognized as authenticated by symfony.
getSalt ( ) : string Get salt.
getUsername ( ) : string Get username.
serialize ( ) : string Serializes the user just with the id, as it is enough.
setApiKey ( string $apiKey ) : self Set apiKey.
setConfirmationKey ( string $confirmationKey ) : self Set confirmationKey.
setEmail ( string $email ) : BaseUser Set email.
setEnabled ( boolean $enabled ) : self Set enabled.
setLastLogin ( DateTime $lastLogin ) : self Set lastLogin.
setLocale ( string $locale ) : self Set locale.
setLocked ( boolean $locked ) : self Set locked.
setPassword ( string $password ) : self Set password.
setPasswordResetToken ( string $passwordResetToken ) : self Set passwordResetToken.
setPasswordResetTokenEmailsSent ( integer $passwordResetTokenEmailsSent ) : BaseUser Set passwordResetTokenEmailsSent.
setPasswordResetTokenExpiresAt ( DateTime $passwordResetTokenExpiresAt ) : BaseUser Set tokenExpiresAt.
setPrivateKey ( string $privateKey ) : self Set privateKey.
setSalt ( string $salt ) : self Set salt.
setUsername ( string $username ) : self Set username.
unserialize ( string $serialized ) Constructs the object.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( )

eraseCredentials() 공개 메소드

Removes the password of the user.
public eraseCredentials ( )

getApiKey() 공개 메소드

Get apiKey.
public getApiKey ( ) : string
리턴 string

getConfirmationKey() 공개 메소드

Get confirmationKey.
public getConfirmationKey ( ) : string
리턴 string

getEmail() 공개 메소드

Get email.
public getEmail ( ) : string
리턴 string

getEnabled() 공개 메소드

public getEnabled ( )

getFullName() 공개 메소드

public getFullName ( ) : string
리턴 string

getId() 공개 메소드

Get id.
public getId ( ) : integer
리턴 integer

getLastLogin() 공개 메소드

Get lastLogin.
public getLastLogin ( ) : DateTime
리턴 DateTime

getLocale() 공개 메소드

Get locale.
public getLocale ( ) : string
리턴 string

getLocked() 공개 메소드

public getLocked ( )

getPassword() 공개 메소드

Get password.
public getPassword ( ) : string
리턴 string

getPasswordResetToken() 공개 메소드

Get passwordResetToken.
public getPasswordResetToken ( ) : string
리턴 string

getPasswordResetTokenEmailsSent() 공개 메소드

Get passwordResetTokenEmailsSent.

getPasswordResetTokenExpiresAt() 공개 메소드

Get passwordResetTokenExpiresAt.
public getPasswordResetTokenExpiresAt ( ) : DateTime
리턴 DateTime

getPrivateKey() 공개 메소드

Get privateKey.
public getPrivateKey ( ) : string
리턴 string

getRoles() 공개 메소드

Returns just the default symfony user role, so that the user get recognized as authenticated by symfony.
public getRoles ( ) : array
리턴 array The user roles

getSalt() 공개 메소드

Get salt.
public getSalt ( ) : string
리턴 string

getUsername() 공개 메소드

Get username.
public getUsername ( ) : string
리턴 string

serialize() 공개 메소드

Serializes the user just with the id, as it is enough.
public serialize ( ) : string
리턴 string The string representation of the object or null

setApiKey() 공개 메소드

Set apiKey.
public setApiKey ( string $apiKey ) : self
$apiKey string
리턴 self

setConfirmationKey() 공개 메소드

Set confirmationKey.
public setConfirmationKey ( string $confirmationKey ) : self
$confirmationKey string
리턴 self

setEmail() 공개 메소드

Set email.
public setEmail ( string $email ) : BaseUser
$email string
리턴 BaseUser

setEnabled() 공개 메소드

Set enabled.
public setEnabled ( boolean $enabled ) : self
$enabled boolean
리턴 self

setLastLogin() 공개 메소드

Set lastLogin.
public setLastLogin ( DateTime $lastLogin ) : self
$lastLogin DateTime
리턴 self

setLocale() 공개 메소드

Set locale.
public setLocale ( string $locale ) : self
$locale string
리턴 self

setLocked() 공개 메소드

Set locked.
public setLocked ( boolean $locked ) : self
$locked boolean
리턴 self

setPassword() 공개 메소드

Set password.
public setPassword ( string $password ) : self
$password string
리턴 self

setPasswordResetToken() 공개 메소드

Set passwordResetToken.
public setPasswordResetToken ( string $passwordResetToken ) : self
$passwordResetToken string
리턴 self

setPasswordResetTokenEmailsSent() 공개 메소드

Set passwordResetTokenEmailsSent.
public setPasswordResetTokenEmailsSent ( integer $passwordResetTokenEmailsSent ) : BaseUser
$passwordResetTokenEmailsSent integer
리턴 BaseUser

setPasswordResetTokenExpiresAt() 공개 메소드

Set tokenExpiresAt.
public setPasswordResetTokenExpiresAt ( DateTime $passwordResetTokenExpiresAt ) : BaseUser
$passwordResetTokenExpiresAt DateTime
리턴 BaseUser

setPrivateKey() 공개 메소드

Set privateKey.
public setPrivateKey ( string $privateKey ) : self
$privateKey string
리턴 self

setSalt() 공개 메소드

Set salt.
public setSalt ( string $salt ) : self
$salt string
리턴 self

setUsername() 공개 메소드

Set username.
public setUsername ( string $username ) : self
$username string
리턴 self

unserialize() 공개 메소드

Constructs the object.
public unserialize ( string $serialized )
$serialized string The string representation of the object

프로퍼티 상세

$apiKey 보호되어 있는 프로퍼티

protected string $apiKey
리턴 string

$confirmationKey 보호되어 있는 프로퍼티

protected string $confirmationKey
리턴 string

$email 보호되어 있는 프로퍼티

protected string $email
리턴 string

$enabled 보호되어 있는 프로퍼티

protected bool $enabled
리턴 boolean

$id 보호되어 있는 프로퍼티

protected int $id
리턴 integer

$lastLogin 보호되어 있는 프로퍼티

protected DateTime $lastLogin
리턴 DateTime

$locale 보호되어 있는 프로퍼티

protected string $locale
리턴 string

$locked 보호되어 있는 프로퍼티

protected bool $locked
리턴 boolean

$password 보호되어 있는 프로퍼티

protected string $password
리턴 string

$passwordResetToken 보호되어 있는 프로퍼티

protected string $passwordResetToken
리턴 string

$privateKey 보호되어 있는 프로퍼티

protected string $privateKey
리턴 string

$salt 보호되어 있는 프로퍼티

protected string $salt
리턴 string

$username 보호되어 있는 프로퍼티

protected string $username
리턴 string