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.
Показать файл
Открыть проект
Примеры использования класса
Открытые свойства
Свойство |
Тип |
Описание |
|
$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
the additional data associated with this item
$description публичное свойство
the name of the item. This must be globally unique.
$ruleName публичное свойство
name of the rule associated with this item
the type of the item. This should be either [[TYPE_ROLE]] or [[TYPE_PERMISSION]].
$updatedAt публичное свойство
UNIX timestamp representing the item updating time