PHP 클래스 Components\Model\User

상속: extends Model, use trait Components\Model\Traits\Timestampable, use trait Components\Model\Traits\SoftDeletable
파일 보기 프로젝트 열기: phalconslayer/slayer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$email
$password
$token

보호된 프로퍼티들

프로퍼티 타입 설명
$activated
$name

공개 메소드들

메소드 설명
getActivated ( ) : boolean To know if the account is activated.
getEmail ( ) : string Get the user's email.
getName ( ) : string Get the user's name.
getSource ( ) : string By every request, phalcon will always pull this function as basis to know what is the table's name.
setActivated ( boolean $bool ) : mixed Set the column activated in the table as boolean.
setEmail ( string $email ) Set the email.
setName ( string $name ) : mixed Set the name field.

메소드 상세

getActivated() 공개 메소드

To know if the account is activated.
public getActivated ( ) : boolean
리턴 boolean

getEmail() 공개 메소드

Get the user's email.
public getEmail ( ) : string
리턴 string

getName() 공개 메소드

Get the user's name.
public getName ( ) : string
리턴 string

getSource() 공개 메소드

By every request, phalcon will always pull this function as basis to know what is the table's name.
public getSource ( ) : string
리턴 string

setActivated() 공개 메소드

Set the column activated in the table as boolean.
public setActivated ( boolean $bool ) : mixed
$bool boolean a boolean value to be based if activated or not
리턴 mixed

setEmail() 공개 메소드

Set the email.
public setEmail ( string $email )
$email string

setName() 공개 메소드

Set the name field.
public setName ( string $name ) : mixed
$name string setting the name of the user
리턴 mixed

프로퍼티 상세

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

protected $activated

$email 공개적으로 프로퍼티

public $email

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

protected $name

$password 공개적으로 프로퍼티

public $password

$token 공개적으로 프로퍼티

public $token