PHP Class Newscoop\Utils\PermissionToAcl

Mostrar archivo Open project: sourcefabric/newscoop Class Usage Examples

Public Methods

Method Description
translate ( string $perm ) : array Translate permission to resource - action pair

Private Methods

Method Description
format ( string $resource, string $action ) : array Format for return

Method Details

translate() public static method

Translate permission to resource - action pair
public static translate ( string $perm ) : array
$perm string
return array