MediaWiki REL1_40
Wikimedia\Rdbms\JoinGroup Class Reference

An object representing a parenthesized group of tables and their join types and conditions. More...

Inherits Wikimedia\Rdbms\JoinGroupBase.

Collaboration diagram for Wikimedia\Rdbms\JoinGroup:

Public Member Functions

 __construct ( $alias)
 Use SelectQueryBuilder::newJoinGroup() to create a join group.
 
 getAlias ()
 
 getRawJoinConds ()
 
 getRawTables ()
 
- Public Member Functions inherited from Wikimedia\Rdbms\JoinGroupBase
 join ( $table, $alias=null, $conds=[])
 Inner join a table or group of tables.
 
 leftJoin ( $table, $alias=null, $conds=[])
 Left join a table or group of tables.
 
 straightJoin ( $table, $alias=null, $conds=[])
 Straight join a table or group of tables.
 
 table ( $table, $alias=null)
 Add a single table or a single parenthesized group.
 

Protected Member Functions

 getAutoAlias ()
 Get a table alias which is unique to the parent SelectQueryBuilder.
 

Additional Inherited Members

- Protected Attributes inherited from Wikimedia\Rdbms\JoinGroupBase
array $joinConds = []
 
 $lastAlias
 
array $tables = []
 

Detailed Description

An object representing a parenthesized group of tables and their join types and conditions.

Definition at line 9 of file JoinGroup.php.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Rdbms\JoinGroup::__construct ( $alias)

Use SelectQueryBuilder::newJoinGroup() to create a join group.

Access: internal
Parameters
string$alias

Definition at line 22 of file JoinGroup.php.

Member Function Documentation

◆ getAlias()

Wikimedia\Rdbms\JoinGroup::getAlias ( )
Access: internal
Returns
string

Definition at line 55 of file JoinGroup.php.

◆ getAutoAlias()

Wikimedia\Rdbms\JoinGroup::getAutoAlias ( )
protected

Get a table alias which is unique to the parent SelectQueryBuilder.

Returns
string

Reimplemented from Wikimedia\Rdbms\JoinGroupBase.

Definition at line 31 of file JoinGroup.php.

◆ getRawJoinConds()

Wikimedia\Rdbms\JoinGroup::getRawJoinConds ( )
Access: internal
Returns
array

Definition at line 47 of file JoinGroup.php.

References Wikimedia\Rdbms\JoinGroupBase\$joinConds.

◆ getRawTables()

Wikimedia\Rdbms\JoinGroup::getRawTables ( )
Access: internal
Returns
array

Definition at line 39 of file JoinGroup.php.

References Wikimedia\Rdbms\JoinGroupBase\$tables.


The documentation for this class was generated from the following file: