TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Extbase\Persistence\Generic\Qom\PropertyValue Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Persistence\Generic\Qom\PropertyValue:
TYPO3\CMS\Extbase\Persistence\Generic\Qom\PropertyValueInterface TYPO3\CMS\Extbase\Persistence\Generic\Qom\DynamicOperandInterface TYPO3\CMS\Extbase\Persistence\Generic\Qom\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()

TYPO3\CMS\Extbase\Persistence\Generic\Qom\PropertyValue::__construct (   $propertyName,
  $selectorName = '' 
)

Constructs this PropertyValue instance

Parameters
string$propertyName
string$selectorName

Definition at line 46 of file PropertyValue.php.

References TYPO3\CMS\Extbase\Persistence\Generic\Qom\PropertyValue\$propertyName, and TYPO3\CMS\Extbase\Persistence\Generic\Qom\PropertyValue\$selectorName.

Member Function Documentation

◆ getPropertyName()

TYPO3\CMS\Extbase\Persistence\Generic\Qom\PropertyValue::getPropertyName ( )

Gets the name of the property.

Returns
string the property name; non-null

Implements TYPO3\CMS\Extbase\Persistence\Generic\Qom\PropertyValueInterface.

Definition at line 67 of file PropertyValue.php.

References TYPO3\CMS\Extbase\Persistence\Generic\Qom\PropertyValue\$propertyName.

◆ getSelectorName()

TYPO3\CMS\Extbase\Persistence\Generic\Qom\PropertyValue::getSelectorName ( )

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

Returns
string the selector name; non-null

Implements TYPO3\CMS\Extbase\Persistence\Generic\Qom\PropertyValueInterface.

Definition at line 57 of file PropertyValue.php.

References TYPO3\CMS\Extbase\Persistence\Generic\Qom\PropertyValue\$selectorName.

Member Data Documentation

◆ $propertyName

TYPO3\CMS\Extbase\Persistence\Generic\Qom\PropertyValue::$propertyName
protected

◆ $selectorName

TYPO3\CMS\Extbase\Persistence\Generic\Qom\PropertyValue::$selectorName
protected