TYPO3 CMS  TYPO3_6-2
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 Tx_Extbase_Persistence_QOM_PropertyValue

Public Member Functions

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

Protected Attributes

 $selectorName
 
 $propertyName
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! 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 27 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 45 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 64 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 55 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