PHP Class developeruz\db_rbac\controllers\AccessController

Inheritance: extends yii\web\Controller
Exibir arquivo Open project: developeruz/yii2-db-rbac

Protected Properties

Property Type Description
$error
$pattern4Permission
$pattern4Role

Public Methods

Method Description
actionAddPermission ( )
actionAddRole ( )
actionDeletePermission ( $name )
actionDeleteRole ( $name )
actionPermission ( )
actionRole ( )
actionUpdatePermission ( $name )
actionUpdateRole ( $name )
actions ( )

Protected Methods

Method Description
clear ( $value )
isUnique ( $name )
setAttribute ( $object, $data )
setPermissions ( $permissions, $role )
updatePermissions ( $allPermissions, $selectedPermissions, $role )
validate ( $field, $regex )

Method Details

actionAddPermission() public method

public actionAddPermission ( )

actionAddRole() public method

public actionAddRole ( )

actionDeletePermission() public method

public actionDeletePermission ( $name )

actionDeleteRole() public method

public actionDeleteRole ( $name )

actionPermission() public method

public actionPermission ( )

actionRole() public method

public actionRole ( )

actionUpdatePermission() public method

public actionUpdatePermission ( $name )

actionUpdateRole() public method

public actionUpdateRole ( $name )

actions() public method

public actions ( )

clear() protected method

protected clear ( $value )

isUnique() protected method

protected isUnique ( $name )

setAttribute() protected method

protected setAttribute ( $object, $data )

setPermissions() protected method

protected setPermissions ( $permissions, $role )

updatePermissions() protected method

protected updatePermissions ( $allPermissions, $selectedPermissions, $role )

validate() protected method

protected validate ( $field, $regex )

Property Details

$error protected_oe property

protected $error

$pattern4Permission protected_oe property

protected $pattern4Permission

$pattern4Role protected_oe property

protected $pattern4Role