PHP Класс Cartalyst\Sentinel\Users\EloquentUser

Наследование: extends Illuminate\Database\Eloquent\Model, implements Cartalyst\Sentinel\Roles\RoleableInterface, implements Cartalyst\Sentinel\Permissions\PermissibleInterface, implements Cartalyst\Sentinel\Persistences\PersistableInterface, implements Cartalyst\Sentinel\Users\UserInterface, use trait Cartalyst\Sentinel\Permissions\PermissibleTrait
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$activationsModel string The Eloquent activations model name.
$fillable {@inheritDoc}
$hidden {@inheritDoc}
$loginNames array Array of login column names.
$persistableKey {@inheritDoc}
$persistableRelationship {@inheritDoc}
$persistencesModel string The Eloquent persistences model name.
$remindersModel string The Eloquent reminders model name.
$rolesModel string The Eloquent roles model name.
$table {@inheritDoc}
$throttlingModel string The Eloquent throttling model name.

Открытые методы

Метод Описание
__call ( string $method, array $parameters ) : mixed Dynamically pass missing methods to the user.
activations ( ) : Illuminate\Database\Eloquent\Relations\HasMany Returns the activations relationship.
delete ( ) {@inheritDoc}
generatePersistenceCode ( ) {@inheritDoc}
getActivationsModel ( ) : string Returns the activations model.
getLoginNames ( ) : array Returns an array of login column names.
getPermissionsAttribute ( mixed $permissions ) : array Get mutator for the "permissions" attribute.
getPersistableId ( ) {@inheritDoc}
getPersistableKey ( ) {@inheritDoc}
getPersistableRelationship ( ) {@inheritDoc}
getPersistencesModel ( ) : string Returns the persistences model.
getRemindersModel ( ) : string Returns the reminders model.
getRoles ( ) {@inheritDoc}
getRolesModel ( ) : string Returns the roles model.
getThrottlingModel ( ) : string Returns the throttling model.
getUserId ( ) {@inheritDoc}
getUserLogin ( ) {@inheritDoc}
getUserLoginName ( ) {@inheritDoc}
getUserPassword ( ) {@inheritDoc}
inRole ( $role ) {@inheritDoc}
persistences ( ) : Illuminate\Database\Eloquent\Relations\HasMany Returns the persistences relationship.
reminders ( ) : Illuminate\Database\Eloquent\Relations\HasMany Returns the reminders relationship.
roles ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany Returns the roles relationship.
setActivationsModel ( string $activationsModel ) : void Sets the activations model.
setPermissionsAttribute ( array $permissions ) : void Set mutator for the "permissions" attribute.
setPersistableKey ( $key ) {@inheritDoc}
setPersistableRelationship ( $persistableRelationship ) {@inheritDoc}
setPersistencesModel ( string $persistencesModel ) : void Sets the persistences model.
setRemindersModel ( string $remindersModel ) : void Sets the reminders model.
setRolesModel ( string $rolesModel ) : void Sets the roles model.
setThrottlingModel ( string $throttlingModel ) : void Sets the throttling model.
throttle ( ) : Illuminate\Database\Eloquent\Relations\HasMany Returns the throttle relationship.

Защищенные методы

Метод Описание
createPermissions ( ) : Cartalyst\Sentinel\Permissions\PermissionsInterface Creates a permissions object.

Описание методов

__call() публичный метод

Dynamically pass missing methods to the user.
public __call ( string $method, array $parameters ) : mixed
$method string
$parameters array
Результат mixed

activations() публичный метод

Returns the activations relationship.
public activations ( ) : Illuminate\Database\Eloquent\Relations\HasMany
Результат Illuminate\Database\Eloquent\Relations\HasMany

createPermissions() защищенный метод

Creates a permissions object.
protected createPermissions ( ) : Cartalyst\Sentinel\Permissions\PermissionsInterface
Результат Cartalyst\Sentinel\Permissions\PermissionsInterface

delete() публичный метод

{@inheritDoc}
public delete ( )

generatePersistenceCode() публичный метод

{@inheritDoc}

getActivationsModel() публичный статический метод

Returns the activations model.
public static getActivationsModel ( ) : string
Результат string

getLoginNames() публичный метод

Returns an array of login column names.
public getLoginNames ( ) : array
Результат array

getPermissionsAttribute() публичный метод

Get mutator for the "permissions" attribute.
public getPermissionsAttribute ( mixed $permissions ) : array
$permissions mixed
Результат array

getPersistableId() публичный метод

{@inheritDoc}
public getPersistableId ( )

getPersistableKey() публичный метод

{@inheritDoc}
public getPersistableKey ( )

getPersistableRelationship() публичный метод

{@inheritDoc}

getPersistencesModel() публичный статический метод

Returns the persistences model.
public static getPersistencesModel ( ) : string
Результат string

getRemindersModel() публичный статический метод

Returns the reminders model.
public static getRemindersModel ( ) : string
Результат string

getRoles() публичный метод

{@inheritDoc}
public getRoles ( )

getRolesModel() публичный статический метод

Returns the roles model.
public static getRolesModel ( ) : string
Результат string

getThrottlingModel() публичный статический метод

Returns the throttling model.
public static getThrottlingModel ( ) : string
Результат string

getUserId() публичный метод

{@inheritDoc}
public getUserId ( )

getUserLogin() публичный метод

{@inheritDoc}
public getUserLogin ( )

getUserLoginName() публичный метод

{@inheritDoc}
public getUserLoginName ( )

getUserPassword() публичный метод

{@inheritDoc}
public getUserPassword ( )

inRole() публичный метод

{@inheritDoc}
public inRole ( $role )

persistences() публичный метод

Returns the persistences relationship.
public persistences ( ) : Illuminate\Database\Eloquent\Relations\HasMany
Результат Illuminate\Database\Eloquent\Relations\HasMany

reminders() публичный метод

Returns the reminders relationship.
public reminders ( ) : Illuminate\Database\Eloquent\Relations\HasMany
Результат Illuminate\Database\Eloquent\Relations\HasMany

roles() публичный метод

Returns the roles relationship.
public roles ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany
Результат Illuminate\Database\Eloquent\Relations\BelongsToMany

setActivationsModel() публичный статический метод

Sets the activations model.
public static setActivationsModel ( string $activationsModel ) : void
$activationsModel string
Результат void

setPermissionsAttribute() публичный метод

Set mutator for the "permissions" attribute.
public setPermissionsAttribute ( array $permissions ) : void
$permissions array
Результат void

setPersistableKey() публичный метод

{@inheritDoc}
public setPersistableKey ( $key )

setPersistableRelationship() публичный метод

{@inheritDoc}
public setPersistableRelationship ( $persistableRelationship )

setPersistencesModel() публичный статический метод

Sets the persistences model.
public static setPersistencesModel ( string $persistencesModel ) : void
$persistencesModel string
Результат void

setRemindersModel() публичный статический метод

Sets the reminders model.
public static setRemindersModel ( string $remindersModel ) : void
$remindersModel string
Результат void

setRolesModel() публичный статический метод

Sets the roles model.
public static setRolesModel ( string $rolesModel ) : void
$rolesModel string
Результат void

setThrottlingModel() публичный статический метод

Sets the throttling model.
public static setThrottlingModel ( string $throttlingModel ) : void
$throttlingModel string
Результат void

throttle() публичный метод

Returns the throttle relationship.
public throttle ( ) : Illuminate\Database\Eloquent\Relations\HasMany
Результат Illuminate\Database\Eloquent\Relations\HasMany

Описание свойств

$activationsModel защищенное статическое свойство

The Eloquent activations model name.
protected static string $activationsModel
Результат string

$fillable защищенное свойство

{@inheritDoc}
protected $fillable

$hidden защищенное свойство

{@inheritDoc}
protected $hidden

$loginNames защищенное свойство

Array of login column names.
protected array $loginNames
Результат array

$persistableKey защищенное свойство

{@inheritDoc}
protected $persistableKey

$persistableRelationship защищенное свойство

{@inheritDoc}
protected $persistableRelationship

$persistencesModel защищенное статическое свойство

The Eloquent persistences model name.
protected static string $persistencesModel
Результат string

$remindersModel защищенное статическое свойство

The Eloquent reminders model name.
protected static string $remindersModel
Результат string

$rolesModel защищенное статическое свойство

The Eloquent roles model name.
protected static string $rolesModel
Результат string

$table защищенное свойство

{@inheritDoc}
protected $table

$throttlingModel защищенное статическое свойство

The Eloquent throttling model name.
protected static string $throttlingModel
Результат string