PHP Class 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"]')
Inheritance: extends Neos\Eel\FlowQuery\Operations\AbstractOperation
Afficher le fichier Open project: neos/neos-development-collection

Protected Properties

Свойство Type Description
$nodeDataRepository Neos\ContentRepository\Domain\Repository\NodeDataRepository
$priority integer
$shortName string

Méthodes publiques

Méthode Description
canEvaluate ( $context ) : boolean
evaluate ( FlowQuery $flowQuery, array $arguments ) : void

Méthodes protégées

Méthode Description
hasOnlyInstanceOfFilters ( array $filters ) : boolean Check if the parsed filters only contain instanceof filters (e.g. "[instanceof Foo],[instanceof Bar]")

Method Details

canEvaluate() public méthode

public canEvaluate ( $context ) : boolean
Résultat boolean TRUE if the operation can be applied onto the $context, FALSE otherwise

evaluate() public méthode

public evaluate ( FlowQuery $flowQuery, array $arguments ) : void
$flowQuery Neos\Eel\FlowQuery\FlowQuery the FlowQuery object
$arguments array the arguments for this operation
Résultat void

hasOnlyInstanceOfFilters() protected méthode

Check if the parsed filters only contain instanceof filters (e.g. "[instanceof Foo],[instanceof Bar]")
protected hasOnlyInstanceOfFilters ( array $filters ) : boolean
$filters array
Résultat boolean

Property Details

$nodeDataRepository protected_oe property

protected NodeDataRepository,Neos\ContentRepository\Domain\Repository $nodeDataRepository
Résultat Neos\ContentRepository\Domain\Repository\NodeDataRepository

$priority protected_oe static_oe property

protected static int $priority
Résultat integer

$shortName protected_oe static_oe property

protected static string $shortName
Résultat string