MediaWiki master
MediaWiki\RecentChanges\ChangesListQuery\ChangesListJoinModule Interface Reference

A module encapsulating join conditions for a ChangesListQuery join. More...

Inherited by MediaWiki\RecentChanges\ChangesListQuery\BasicJoin.

Public Member Functions

 alias (JoinDependencyProvider $provider, string $alias)
 Add or retrieve an instance of the join with the given table alias.
 
 forConds (JoinDependencyProvider $provider)
 Declare that the join is required to provide fields for the WHERE clause.
 
 forFields (JoinDependencyProvider $provider)
 Declare that the join is required to provide fields in the SELECT clause.
 
 prepare (SelectQueryBuilder $sqb)
 Add all registered instances of the join to a SELECT query.
 

Detailed Description

A module encapsulating join conditions for a ChangesListQuery join.

Since
1.45

Definition at line 12 of file ChangesListJoinModule.php.

Member Function Documentation

◆ alias()

MediaWiki\RecentChanges\ChangesListQuery\ChangesListJoinModule::alias ( JoinDependencyProvider $provider,
string $alias )

Add or retrieve an instance of the join with the given table alias.

Parameters
JoinDependencyProvider$provider
string$alias
Returns
ChangesListJoinBuilder

Implemented in MediaWiki\RecentChanges\ChangesListQuery\BasicJoin.

◆ forConds()

MediaWiki\RecentChanges\ChangesListQuery\ChangesListJoinModule::forConds ( JoinDependencyProvider $provider)

Declare that the join is required to provide fields for the WHERE clause.

Add or retrieve the default instance of the join.

Parameters
JoinDependencyProvider$provider
Returns
ChangesListJoinBuilder

Implemented in MediaWiki\RecentChanges\ChangesListQuery\BasicJoin.

◆ forFields()

MediaWiki\RecentChanges\ChangesListQuery\ChangesListJoinModule::forFields ( JoinDependencyProvider $provider)

Declare that the join is required to provide fields in the SELECT clause.

Add or retrieve the default instance of the join.

Parameters
JoinDependencyProvider$provider
Returns
ChangesListJoinBuilder

Implemented in MediaWiki\RecentChanges\ChangesListQuery\BasicJoin.

◆ prepare()

MediaWiki\RecentChanges\ChangesListQuery\ChangesListJoinModule::prepare ( SelectQueryBuilder $sqb)

Add all registered instances of the join to a SELECT query.

Parameters
SelectQueryBuilder$sqb

Implemented in MediaWiki\RecentChanges\ChangesListQuery\BasicJoin.


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