TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
PropertyValue Class Reference
Inheritance diagram for PropertyValue:
PropertyValueInterface DynamicOperandInterface OperandInterface

Public Member Functions

 __construct ($propertyName, $selectorName= '')
 
 getSelectorName ()
 
 getPropertyName ()
 

Protected Attributes

 $selectorName
 
 $propertyName
 

Detailed Description

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

If, for a node-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 JCR name.

Definition at line 28 of file PropertyValue.php.

Constructor & Destructor Documentation

__construct (   $propertyName,
  $selectorName = '' 
)

Constructs this PropertyValue instance

Parameters
string$propertyName
string$selectorName

Definition at line 46 of file PropertyValue.php.

References PropertyValue\$propertyName, and PropertyValue\$selectorName.

Member Function Documentation

getPropertyName ( )

Gets the name of the property.

Returns
string the property name; non-null

Implements PropertyValueInterface.

Definition at line 67 of file PropertyValue.php.

References PropertyValue\$propertyName.

getSelectorName ( )

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

Returns
string the selector name; non-null

Implements PropertyValueInterface.

Definition at line 57 of file PropertyValue.php.

References PropertyValue\$selectorName.

Member Data Documentation

$propertyName
protected

Definition at line 38 of file PropertyValue.php.

Referenced by PropertyValue\__construct(), and PropertyValue\getPropertyName().

$selectorName
protected

Definition at line 33 of file PropertyValue.php.

Referenced by PropertyValue\__construct(), and PropertyValue\getSelectorName().