MediaWiki
master
ChangesListJoinModule.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\RecentChanges\ChangesListQuery
;
4
5
use
Wikimedia\Rdbms\SelectQueryBuilder
;
6
14
interface
ChangesListJoinModule
{
22
public
function
forFields
(
JoinDependencyProvider
$provider ):
ChangesListJoinBuilder
;
23
31
public
function
forConds
(
JoinDependencyProvider
$provider ):
ChangesListJoinBuilder
;
32
40
public
function
alias
(
JoinDependencyProvider
$provider,
string
$alias ):
ChangesListJoinBuilder
;
41
47
public
function
prepare
(
SelectQueryBuilder
$sqb ): void;
48
}
MediaWiki\RecentChanges\ChangesListQuery\ChangesListJoinBuilder
An object encapsulating a single instance of a join on a table.
Definition
ChangesListJoinBuilder.php:17
Wikimedia\Rdbms\SelectQueryBuilder
Build SELECT queries with a fluent interface.
Definition
SelectQueryBuilder.php:26
MediaWiki\RecentChanges\ChangesListQuery\ChangesListJoinModule
A module encapsulating join conditions for a ChangesListQuery join.
Definition
ChangesListJoinModule.php:14
MediaWiki\RecentChanges\ChangesListQuery\ChangesListJoinModule\prepare
prepare(SelectQueryBuilder $sqb)
Add all registered instances of the join to a SELECT query.
MediaWiki\RecentChanges\ChangesListQuery\ChangesListJoinModule\forConds
forConds(JoinDependencyProvider $provider)
Declare that the join is required to provide fields for the WHERE clause.
MediaWiki\RecentChanges\ChangesListQuery\ChangesListJoinModule\forFields
forFields(JoinDependencyProvider $provider)
Declare that the join is required to provide fields in the SELECT clause.
MediaWiki\RecentChanges\ChangesListQuery\ChangesListJoinModule\alias
alias(JoinDependencyProvider $provider, string $alias)
Add or retrieve an instance of the join with the given table alias.
MediaWiki\RecentChanges\ChangesListQuery\JoinDependencyProvider
The narrow interface provided to join modules to allow them to declare any dependencies they have on ...
Definition
JoinDependencyProvider.php:14
MediaWiki\RecentChanges\ChangesListQuery
Definition
BasicJoin.php:3
includes
RecentChanges
ChangesListQuery
ChangesListJoinModule.php
Generated on Sat Oct 10 2026 14:23:32 for MediaWiki by
1.10.0