class PropertyOperation extends AbstractOperation (View source)

deprecated with Neos 9.0 for simple case like ${q(node).property(propertyName)} please use ${node.properties.title} or ${node.properties[propertyName]} instead. For resolving references leverage ${q(node).referenceNodes("someReferenceName")} instead.

Used to access properties of a ContentRepository Node.

Properties

static protected string $shortName {@inheritdoc}
static protected int $priority {@inheritdoc}
static protected bool $final {@inheritdoc}
protected ContentRepositoryRegistry $contentRepositoryRegistry

Methods

bool
canEvaluate(array<int, mixed> $context)

{@inheritdoc}

mixed
evaluate(FlowQuery $flowQuery, array $arguments)

{@inheritdoc}

Details

bool canEvaluate(array<int, mixed> $context)

{@inheritdoc}

We can only handle ContentRepository Nodes.

Parameters

array<int, mixed> $context

$context onto which this operation should be applied (array or array-like object)

Return Value

bool

mixed evaluate(FlowQuery $flowQuery, array $arguments)

{@inheritdoc}

Parameters

FlowQuery $flowQuery

the FlowQuery object

array $arguments

the arguments for this operation

Return Value

mixed

Exceptions

FlowQueryException