Property | Type | Description | |
---|---|---|---|
$authManager | The auth manager component ID. |
Method | Description | |
---|---|---|
actionCreate ( ) : array | string | Shows page where new rule can be added. | |
actionDelete ( string $name ) : string | Removes rule. | |
actionIndex ( ) : string | Shows list of created rules. | |
actionSearch ( string | null $q = null ) : array | Searches for rules. | |
actionUpdate ( string $name ) : array | string | |
Updates existing auth rule. | |
behaviors ( ) : array | ||
init ( ) | This method will set [[authManager]] to be the 'authManager' application component, if it is null. |
Method | Description | |
---|---|---|
findRule ( string $name ) : mixed | null | |
||
getModel ( string $scenario ) : dektrium\rbac\models\Rule | ||
getSearchModel ( ) : |
public actionCreate ( ) : array | string | ||
return | array | string |
public actionDelete ( string $name ) : string | ||
$name | string | |
return | string |
public actionIndex ( ) : string | ||
return | string |
public init ( ) |