PHP Class Neos\Neos\Fusion\Helper\NodeHelper

Inheritance: implements Neos\Eel\ProtectedContextAwareInterface
Show file Open project: neos/neos

Public Methods

Method Description
allowsCallOfMethod ( string $methodName ) : boolean
nearestContentCollection ( Neos\ContentRepository\Domain\Model\NodeInterface $node, string $nodePath ) : Neos\ContentRepository\Domain\Model\NodeInterface Check if the given node is already a collection, find collection by nodePath otherwise, throw exception if no content collection could be found

Method Details

allowsCallOfMethod() public method

public allowsCallOfMethod ( string $methodName ) : boolean
$methodName string
return boolean

nearestContentCollection() public method

Check if the given node is already a collection, find collection by nodePath otherwise, throw exception if no content collection could be found
public nearestContentCollection ( Neos\ContentRepository\Domain\Model\NodeInterface $node, string $nodePath ) : Neos\ContentRepository\Domain\Model\NodeInterface
$node Neos\ContentRepository\Domain\Model\NodeInterface
$nodePath string
return Neos\ContentRepository\Domain\Model\NodeInterface