PropertyValue implements PropertyValueInterface

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.

Internal

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

Table of Contents

Interfaces

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

Properties

$propertyName  : string
$selectorName  : string

Methods

__construct()  : mixed
Constructs this PropertyValue instance
getPropertyName()  : string
Gets the name of the property.
getSelectorName()  : string
Gets the name of the selector against which to evaluate this operand.

Properties

$propertyName

protected string $propertyName

$selectorName

protected string $selectorName

Methods

__construct()

Constructs this PropertyValue instance

public __construct(string $propertyName[, string $selectorName = '' ]) : mixed
Parameters
$propertyName : string
$selectorName : string = ''

getPropertyName()

Gets the name of the property.

public getPropertyName() : string
Return values
string

the property name; non-null

getSelectorName()

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

public getSelectorName() : string
Return values
string

the selector name; non-null


        
On this page

Search results