Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Newscoop
Utils
PermissionToAcl
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