Beta version

class NodesSourcesExtension extends Twig_Extension

Extension that allow to gather nodes-source from hierarchy

Methods

__construct(AuthorizationChecker $securityAuthorizationChecker, boolean $preview = false)

No description

getName()

No description

getFilters()

No description

ArrayCollection
getChildren(NodesSources $ns = null, array $criteria = null, array $order = null)

No description

getNext(NodesSources $ns = null, array $criteria = null, array $order = null)

No description

getPrevious(NodesSources $ns = null, array $criteria = null, array $order = null)

No description

getLastSibling(NodesSources $ns = null, array $criteria = null, array $order = null)

No description

getFirstSibling(NodesSources $ns = null, array $criteria = null, array $order = null)

No description

getParent(NodesSources $ns = null)

No description

array
getParents(NodesSources $ns = null, array $criteria = null, null $preview = null)

No description

array
getTags(NodesSources $ns = null)

No description

Details

at line 47
__construct(AuthorizationChecker $securityAuthorizationChecker, boolean $preview = false)

Parameters

AuthorizationChecker $securityAuthorizationChecker
boolean $preview

at line 53
getName()

at line 58
getFilters()

at line 79
ArrayCollection getChildren(NodesSources $ns = null, array $criteria = null, array $order = null)

Parameters

NodesSources $ns
array $criteria
array $order

Return Value

ArrayCollection

Exceptions

Twig_Error_Runtime

at line 95
NodesSources getNext(NodesSources $ns = null, array $criteria = null, array $order = null)

Parameters

NodesSources $ns
array $criteria
array $order

Return Value

NodesSources

Exceptions

Twig_Error_Runtime

at line 111
NodesSources getPrevious(NodesSources $ns = null, array $criteria = null, array $order = null)

Parameters

NodesSources $ns
array $criteria
array $order

Return Value

NodesSources

Exceptions

Twig_Error_Runtime

at line 127
NodesSources getLastSibling(NodesSources $ns = null, array $criteria = null, array $order = null)

Parameters

NodesSources $ns
array $criteria
array $order

Return Value

NodesSources

Exceptions

Twig_Error_Runtime

at line 143
NodesSources getFirstSibling(NodesSources $ns = null, array $criteria = null, array $order = null)

Parameters

NodesSources $ns
array $criteria
array $order

Return Value

NodesSources

Exceptions

Twig_Error_Runtime

at line 157
NodesSources getParent(NodesSources $ns = null)

Parameters

NodesSources $ns

Return Value

NodesSources

Exceptions

Twig_Error_Runtime

at line 173
array getParents(NodesSources $ns = null, array $criteria = null, null $preview = null)

Parameters

NodesSources $ns
array $criteria
null $preview

Return Value

array

Exceptions

Twig_Error_Runtime

at line 188
array getTags(NodesSources $ns = null)

Parameters

NodesSources $ns

Return Value

array

Exceptions

Twig_Error_Runtime