PHP Class 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.
显示文件
Open project: yiisoft/yii2
Class Usage Examples
Public Properties
Property |
Type |
Description |
|
$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 |
|
Property Details
$createdAt public_oe property
UNIX timestamp representing the item creation time
the additional data associated with this item
$description public_oe property
the name of the item. This must be globally unique.
$ruleName public_oe property
name of the rule associated with this item
the type of the item. This should be either [[TYPE_ROLE]] or [[TYPE_PERMISSION]].
$updatedAt public_oe property
UNIX timestamp representing the item updating time