Method | Description | |
---|---|---|
add ( string $action, string | array $type, mixed $value = null ) | Add grant information | |
except ( string $action, mixed $userIds = null ) | Add except user identifier | |
set ( string $action, string | array $type, mixed $value = null ) | Set grant information |
Method | Description | |
---|---|---|
isAllowType ( stirng $type ) : boolean | Check type is allowed | |
makeValue ( string | array $type, mixed $value = null ) : array | Make value array from arguments | |
valueFilter ( array $value ) : array | Value filter |
protected isAllowType ( stirng $type ) : boolean | ||
$type | stirng | type |
return | boolean |
protected valueFilter ( array $value ) : array | ||
$value | array | values |
return | array |