PHP Class Neos\Neos\Eel\FlowQueryOperations\ParentsUntilOperation
If an optional filter expression is provided as a second argument,
it only returns the nodes matching the given expression.
显示文件
Open project: neos/neos-development-collection
Protected Properties
Public Methods
Protected Methods
Method |
Description |
|
getNodesUntil ( array $parentNodes, Neos\ContentRepository\Domain\Model\NodeInterface $until ) : array |
|
|
getParents ( Neos\ContentRepository\Domain\Model\NodeInterface $contextNode, Neos\ContentRepository\Domain\Model\NodeInterface $siteNode ) |
|
|
Method Details
canEvaluate()
public method
public canEvaluate ( $context ) : boolean |
return |
boolean |
TRUE if the operation can be applied onto the $context, FALSE otherwise |
public evaluate ( FlowQuery $flowQuery, array $arguments ) : void |
$flowQuery |
Neos\Eel\FlowQuery\FlowQuery |
the FlowQuery object |
$arguments |
array |
the arguments for this operation |
return |
void |
|
getNodesUntil()
protected method
protected getNodesUntil ( array $parentNodes, Neos\ContentRepository\Domain\Model\NodeInterface $until ) : array |
$parentNodes |
array |
the parent nodes |
$until |
Neos\ContentRepository\Domain\Model\NodeInterface |
|
return |
array |
|
getParents()
protected method
protected getParents ( Neos\ContentRepository\Domain\Model\NodeInterface $contextNode, Neos\ContentRepository\Domain\Model\NodeInterface $siteNode ) |
$contextNode |
Neos\ContentRepository\Domain\Model\NodeInterface |
|
$siteNode |
Neos\ContentRepository\Domain\Model\NodeInterface |
|
Property Details
$priority protected_oe static_oe property
protected static int $priority |
return |
integer |
|
$shortName protected_oe static_oe property
protected static string $shortName |
return |
string |
|