Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Jarves
Twig
NodeIsActiveExtension
PHP Class Jarves\Twig\NodeIsActiveExtension
Inheritance:
extends
Twig_Extension
Datei anzeigen
Open project: jarves/jarves
Public Methods
Method
Description
__construct
(
PageStack
$pageStack
)
getFilters
( )
getName
( )
isActive
(
Node |
integer
|
string
$id
,
boolean
$exact
= false ) :
boolean
Method Details
__construct()
public
method
public
__construct
(
PageStack
$pageStack
)
$pageStack
Jarves\PageStack
getFilters()
public
method
public
getFilters
( )
getName()
public
method
public
getName
( )
isActive()
public
method
public
isActive
(
Node |
integer
|
string
$id
,
boolean
$exact
= false ) :
boolean
$id
Jarves\Model\Node |
integer
|
string
Node, node id, or node url
$exact
boolean
whether it should also return true when a children is active
return
boolean