class PropertyValue extends DynamicOperand (View source)

deprecated since Flow 6.0

Evaluates to the value (or values, if multi-valued) of a property.

If, for a tuple, the selector node does not have a property named property, the operand evaluates to null.

The query is invalid if:

selector is not the name of a selector in the query, or property is not a syntactically valid property name.

Properties

protected string $selectorName
protected string $propertyName

Methods

__construct(string $propertyName, string $selectorName = '')

Constructs this PropertyValue instance

string
getSelectorName()

Gets the name of the selector against which to evaluate this operand.

string
getPropertyName()

Gets the name of the property.

Details

__construct(string $propertyName, string $selectorName = '')

Constructs this PropertyValue instance

Parameters

string $propertyName
string $selectorName

string getSelectorName()

Gets the name of the selector against which to evaluate this operand.

Return Value

string

the selector name; non-null

string getPropertyName()

Gets the name of the property.

Return Value

string

the property name; non-null