TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
Join Class Reference
Inheritance diagram for Join:
JoinInterface SourceInterface

Public Member Functions

 __construct (SourceInterface $left, SourceInterface $right, $joinType, JoinConditionInterface $joinCondition)
 
 getLeft ()
 
 getRight ()
 
 getJoinType ()
 
 getJoinCondition ()
 

Protected Attributes

 $left
 
 $right
 
 $joinType
 
 $joinCondition
 

Detailed Description

Performs a join between two node-tuple sources.

Definition at line 20 of file Join.php.

Constructor & Destructor Documentation

__construct ( SourceInterface  $left,
SourceInterface  $right,
  $joinType,
JoinConditionInterface  $joinCondition 
)

Constructs the Join instance

Parameters
SourceInterface$leftthe left node-tuple source; non-null
SourceInterface$rightthe right node-tuple source; non-null
string$joinTypeOne of Query::JCR_JOIN_TYPE_*
JoinConditionInterface$joinCondition

Definition at line 50 of file Join.php.

References Join\$joinCondition, Join\$joinType, Join\$left, and Join\$right.

Member Function Documentation

getJoinCondition ( )

Gets the join condition.

Returns
JoinConditionInterface the join condition; non-null

Implements JoinInterface.

Definition at line 93 of file Join.php.

References Join\$joinCondition.

getJoinType ( )

Gets the join type.

Returns
string one of QueryObjectModelConstants.JCR_JOIN_TYPE_*

Implements JoinInterface.

Definition at line 83 of file Join.php.

References Join\$joinType.

getLeft ( )

Gets the left node-tuple source.

Returns
SourceInterface the left source; non-null

Implements JoinInterface.

Definition at line 63 of file Join.php.

References Join\$left.

getRight ( )

Gets the right node-tuple source.

Returns
SourceInterface the right source; non-null

Implements JoinInterface.

Definition at line 73 of file Join.php.

References Join\$right.

Member Data Documentation

$joinCondition
protected

Definition at line 40 of file Join.php.

Referenced by Join\__construct(), and Join\getJoinCondition().

$joinType
protected

Definition at line 35 of file Join.php.

Referenced by Join\__construct(), and Join\getJoinType().

$left
protected

Definition at line 25 of file Join.php.

Referenced by Join\__construct(), and Join\getLeft().

$right
protected

Definition at line 30 of file Join.php.

Referenced by Join\__construct(), and Join\getRight().