PHP Класс Neos\ContentRepository\Eel\FlowQueryOperations\FindOperation
Example (node name):
q(node).find('main')
Example (relative path):
q(node).find('main/text1')
Example (absolute path):
q(node).find('/sites/my-site/home')
Example (identifier):
q(node).find('#30e893c1-caef-0ca5-b53d-e5699bb8e506')
Example (node type):
q(node).find('[instanceof Neos.Neos.NodeTypes:Text]')
Example (multiple node types):
q(node).find('[instanceof Neos.Neos.NodeTypes:Text],[instanceof Neos.Neos.NodeTypes:Image]')
Example (node type with filter):
q(node).find('[instanceof Neos.Neos.NodeTypes:Text][text*="Neos"]')
Показать файл
Открыть проект
Защищенные свойства (Protected)
Открытые методы
Защищенные методы
Описание методов
canEvaluate()
публичный Метод
public canEvaluate ( $context ) : boolean |
Результат |
boolean |
TRUE if the operation can be applied onto the $context, FALSE otherwise |
evaluate()
публичный Метод
public evaluate ( FlowQuery $flowQuery, array $arguments ) : void |
$flowQuery |
Neos\Eel\FlowQuery\FlowQuery |
the FlowQuery object |
$arguments |
array |
the arguments for this operation |
Результат |
void |
|
hasOnlyInstanceOfFilters()
защищенный Метод
Check if the parsed filters only contain instanceof filters (e.g. "[instanceof Foo],[instanceof Bar]")
Описание свойств
$nodeDataRepository защищенное свойство
protected NodeDataRepository,Neos\ContentRepository\Domain\Repository $nodeDataRepository |
Результат |
Neos\ContentRepository\Domain\Repository\NodeDataRepository |
|
$priority защищенное статическое свойство
protected static int $priority |
Результат |
integer |
|
$shortName защищенное статическое свойство
protected static string $shortName |
Результат |
string |
|