class PropertyOperation extends AbstractOperation (View source)

Used to access properties of a ContentRepository Node. If the property mame is prefixed with _, internal node properties like start time, end time, hidden are accessed.

Properties

static protected string $shortName

{@inheritdoc}

static protected int $priority

{@inheritdoc}

static protected bool $final

{@inheritdoc}

protected ContentRepositoryRegistry $contentRepositoryRegistry

Methods

bool
canEvaluate(array $context)

{@inheritdoc}

mixed
evaluate(FlowQuery $flowQuery, array $arguments)

{@inheritdoc}

Details

bool canEvaluate(array $context)

{@inheritdoc}

We can only handle ContentRepository Nodes.

Parameters

array $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