EquiJoinCondition

class \TYPO3\CMS\Extbase\Persistence\Generic\Qom\EquiJoinCondition

Implements
EquiJoinConditionInterface

Tests whether the value of a property in a first selector is equal to the value of a property in a second selector.

A node-tuple satisfies the constraint only if: the selector1Name node has a property named property1Name, and the selector2Name node has a property named property2Name, and the value of property property1Name is equal to the value of property property2Name.

Table of Contents

Interfaces

EquiJoinConditionInterface
Tests whether the childSelector node is a child of the parentSelector node. A node-tuple satisfies the constraint only if: childSelectorNode.getParent().isSame(parentSelectorNode) would return true, where childSelectorNode is the node for childSelector and parentSelectorNode is the node for parentSelector.

Properties

$property1Name  : string
$property2Name  : string
$selector1Name  : string
$selector2Name  : string

Methods

__construct()  : mixed
Constructs this EquiJoinCondition instance
getChildSelectorName()  : string
Gets the name of the child selector.
getParentSelectorName()  : string
Gets the name of the parent selector.
getProperty1Name()  : string
Gets the name of the first property.
getProperty2Name()  : string
Gets the name of the second property.
getSelector1Name()  : string
Gets the name of the first selector.
getSelector2Name()  : string
Gets the name of the second selector.

Properties

$property1Name

protected string $property1Name

$property2Name

protected string $property2Name

$selector1Name

protected string $selector1Name

$selector2Name

protected string $selector2Name

Methods

__construct()

Constructs this EquiJoinCondition instance

public __construct(string $selector1Name, string $property1Name, string $selector2Name, string $property2Name) : mixed

Parameters

$selector1Name : string

the name of the first selector; non-null

$property1Name : string

the property name in the first selector; non-null

$selector2Name : string

the name of the second selector; non-null

$property2Name : string

the property name in the second selector; non-null

getChildSelectorName()

Gets the name of the child selector.

public getChildSelectorName() : string

Return values

string —

the selector name; non-null

getParentSelectorName()

Gets the name of the parent selector.

public getParentSelectorName() : string

Return values

string —

the selector name; non-null

getProperty1Name()

Gets the name of the first property.

public getProperty1Name() : string

Return values

string —

the property name; non-null

getProperty2Name()

Gets the name of the second property.

public getProperty2Name() : string

Return values

string —

the property name; non-null

getSelector1Name()

Gets the name of the first selector.

public getSelector1Name() : string

Return values

string —

the selector name; non-null

getSelector2Name()

Gets the name of the second selector.

public getSelector2Name() : string

Return values

string —

the selector name; non-null

On this page