메소드 | 설명 | |
---|---|---|
get ( integer $resourceId ) : |
Gets the definition of the provided resource | |
getAll ( $raw = false ) : ArrayObject | Gets all Resources | |
getByGroup ( string $group ) : ArrayObject | Gets the list of the resources of specified associative group. | |
has ( integer $resourceId ) : boolean | Checks if specified resource is defined |
public static getAll ( $raw = false ) : ArrayObject | ||
리턴 | ArrayObject | Returns array looks like [ resource_id => [name, description, resourceGroup, [[permission_id => description)][, ModeInterface]] ] Third value of array is optional and determines unique permissions for specified resource which can be allowed or forbidden separately. Forth value of the array is optional Resource Mode. |
public static getByGroup ( string $group ) : ArrayObject | ||
$group | string | The group identifier |
리턴 | ArrayObject | Returns the list of the resources of the specified associative group. |