Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ZfcRbac
View
Helper
HasRole
PHP Class ZfcRbac\View\Helper\HasRole
Author:
JM Leroux (
[email protected]
)
Inheritance:
extends
Zend\View\Helper\AbstractHelper
Show file
Open project: zf-commons/zfc-rbac
Public Methods
Method
Description
__construct
(
RoleService
$roleService
)
Constructor
__invoke
(
string
| string[]
$roleOrRoles
) :
boolean
Method Details
__construct()
public
method
Constructor
public
__construct
(
RoleService
$roleService
)
$roleService
ZfcRbac\Service\RoleService
__invoke()
public
method
public
__invoke
(
string
| string[]
$roleOrRoles
) :
boolean
$roleOrRoles
string
| string[]
return
boolean