Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Newscoop
Utils
PermissionToAcl
PHP Class Newscoop\Utils\PermissionToAcl
Exibir arquivo
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