PHP Класс Neos\Neos\TypoScript\Helper\NodeHelper

Наследование: implements Neos\Eel\ProtectedContextAwareInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

allowsCallOfMethod() публичный метод

public allowsCallOfMethod ( string $methodName ) : boolean
$methodName string
Результат boolean

nearestContentCollection() публичный метод

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
Результат Neos\ContentRepository\Domain\Model\NodeInterface