PHP Класс yii\rbac\Item

An authorization item can be an operation, a task or a role. They form an authorization hierarchy. Items on higher levels of the hierarchy inherit the permissions represented by items on lower levels. A user may be assigned one or several authorization items (called Assignment assignments). He can perform an operation only when it is among his assigned items.
С версии: 2.0
Автор: Qiang Xue ([email protected])
Автор: Alexander Kochetov ([email protected])
Наследование: extends yii\base\Object
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$createdAt UNIX timestamp representing the item creation time
$data the additional data associated with this item
$description the item description
$name the name of the item. This must be globally unique.
$ruleName name of the rule associated with this item
$type the type of the item. This should be either [[TYPE_ROLE]] or [[TYPE_PERMISSION]].
$updatedAt UNIX timestamp representing the item updating time

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

$createdAt публичное свойство

UNIX timestamp representing the item creation time
public $createdAt

$data публичное свойство

the additional data associated with this item
public $data

$description публичное свойство

the item description
public $description

$name публичное свойство

the name of the item. This must be globally unique.
public $name

$ruleName публичное свойство

name of the rule associated with this item
public $ruleName

$type публичное свойство

the type of the item. This should be either [[TYPE_ROLE]] or [[TYPE_PERMISSION]].
public $type

$updatedAt публичное свойство

UNIX timestamp representing the item updating time
public $updatedAt