Abstract Class dektrium\rbac\models\AuthItem

Inheritancedektrium\rbac\models\AuthItem » yii\base\Model
Subclassesdektrium\rbac\models\Permission, dektrium\rbac\models\Role

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
createItem() dektrium\rbac\models\AuthItem
updateChildren() Updated items children. dektrium\rbac\models\AuthItem

Property Details

$children public property
public string[] $children = []
$description public property
public string $description null
$item public property
public \yii\rbac\Role|\yii\rbac\Permission $item null
$manager protected property
$name public property
public string $name null
$rule public property
public string $rule null

Method Details

attributeLabels() public method

public void attributeLabels ( )
createItem() protected abstract method

protected abstract \yii\rbac\Item createItem ( $name )
$name string
getUnassignedItems() public abstract method

public abstract array getUnassignedItems ( )
return array

An array of unassigned items.

init() public method

public void init ( )
rules() public method

public void rules ( )
save() public method

Saves item.

public bool save ( )
scenarios() public method

public void scenarios ( )
updateChildren() protected method

Updated items children.

protected void updateChildren ( )