Class dektrium\rbac\models\Assignment

Inheritancedektrium\rbac\models\Assignment » yii\base\Model

Property Details

$items public property
public array $items = []
$manager protected property
$updated public property
public boolean $updated false
$user_id public property
public integer $user_id null

Method Details

attributeLabels() public method

public void attributeLabels ( )
getAvailableItems() public method

Returns all available auth items to be attached to user.

public array getAvailableItems ( )
init() public method

public void init ( )
rules() public method

public void rules ( )
updateAssignments() public method

Updates auth assignments for user.

public boolean updateAssignments ( )