PHP Класс Components\Model\User

Наследование: extends Model, use trait Components\Model\Traits\Timestampable, use trait Components\Model\Traits\SoftDeletable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$email
$password
$token

Защищенные свойства (Protected)

Свойство Тип Описание
$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