‪TYPO3CMS  ‪main
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='')
 
string getSelectorName ()
 
string getPropertyName ()
 

Protected Attributes

string $selectorName
 
string $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.

only to be used within Extbase, not part of TYPO3 Core API.

Definition at line 33 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 49 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()

string 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 70 of file PropertyValue.php.

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

◆ getSelectorName()

string 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 60 of file PropertyValue.php.

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

Member Data Documentation

◆ $propertyName

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

◆ $selectorName

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