PHP Class Neos\Neos\TypoScript\Helper\NodeHelper

Inheritance: implements Neos\Eel\ProtectedContextAwareInterface
Afficher le fichier Open project: neos/neos-development-collection

Méthodes publiques

Méthode 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 méthode

public allowsCallOfMethod ( string $methodName ) : boolean
$methodName string
Résultat boolean

nearestContentCollection() public méthode

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
Résultat Neos\ContentRepository\Domain\Model\NodeInterface