MediaWiki
REL1_35
JoinGroup.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Wikimedia\Rdbms
;
4
9
class
JoinGroup
extends
JoinGroupBase
{
11
private
$alias
;
12
14
private
$nextAutoAlias
= 0;
15
22
public
function
__construct
(
$alias
) {
23
$this->alias =
$alias
;
24
}
25
31
protected
function
getAutoAlias
() {
32
return
$this->alias .
'_'
. ( $this->nextAutoAlias++ );
33
}
34
39
public
function
getRawTables
() {
40
return
$this->tables
;
41
}
42
47
public
function
getRawJoinConds
() {
48
return
$this->joinConds
;
49
}
50
55
public
function
getAlias
() {
56
return
$this->alias
;
57
}
58
}
Wikimedia\Rdbms\JoinGroupBase
A class for code shared between SelectQueryBuilder and JoinGroup.
Definition
JoinGroupBase.php:9
Wikimedia\Rdbms\JoinGroupBase\$tables
array $tables
Definition
JoinGroupBase.php:11
Wikimedia\Rdbms\JoinGroupBase\$joinConds
array $joinConds
Definition
JoinGroupBase.php:14
Wikimedia\Rdbms\JoinGroup
An object representing a parenthesized group of tables and their join types and conditions.
Definition
JoinGroup.php:9
Wikimedia\Rdbms\JoinGroup\getRawTables
getRawTables()
Definition
JoinGroup.php:39
Wikimedia\Rdbms\JoinGroup\__construct
__construct( $alias)
Use SelectQueryBuilder::newJoinGroup() to create a join group.
Definition
JoinGroup.php:22
Wikimedia\Rdbms\JoinGroup\$alias
string $alias
Definition
JoinGroup.php:11
Wikimedia\Rdbms\JoinGroup\getAutoAlias
getAutoAlias()
Get a table alias which is unique to the parent SelectQueryBuilder.
Definition
JoinGroup.php:31
Wikimedia\Rdbms\JoinGroup\getAlias
getAlias()
Definition
JoinGroup.php:55
Wikimedia\Rdbms\JoinGroup\$nextAutoAlias
int $nextAutoAlias
Definition
JoinGroup.php:14
Wikimedia\Rdbms\JoinGroup\getRawJoinConds
getRawJoinConds()
Definition
JoinGroup.php:47
Wikimedia\Rdbms
Definition
ChronologyProtector.php:24
includes
libs
rdbms
querybuilder
JoinGroup.php
Generated on Sat Apr 6 2024 00:07:28 for MediaWiki by
1.9.8