getItems() public method
Returns the items of the specified type.
public yii\rbac\Item[] getItems ( $type )$type integer
The auth item type (either yii\rbac\Item::TYPE_ROLE or yii\rbac\Item::TYPE_PERMISSION return
yii\rbac\Item[]
The auth items of the specified type.