PropertyValue deprecated
class PropertyValue extends DynamicOperand (View source)
deprecated
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
string
getSelectorName()
Gets the name of the selector against which to evaluate this operand.
string
getPropertyName()
Gets the name of the property.