MediaWiki master
MediaWiki\RecentChanges\ChangesListQuery\JoinDependencyProvider Interface Reference

The narrow interface provided to join modules to allow them to declare any dependencies they have on other tables. More...

Inherited by MediaWiki\RecentChanges\ChangesListQuery\ChangesListQuery.

Public Member Functions

 joinForConds (string $table)
 Declare that the join is required to provide fields for the WHERE clause.
 
 joinForFields (string $table)
 Declare that the join is required to provide fields in the SELECT clause.
 

Detailed Description

The narrow interface provided to join modules to allow them to declare any dependencies they have on other tables.

This is implemented by ChangesListQuery.

Since
1.45

Definition at line 12 of file JoinDependencyProvider.php.

Member Function Documentation

◆ joinForConds()

MediaWiki\RecentChanges\ChangesListQuery\JoinDependencyProvider::joinForConds ( string $table)

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

Add or retrieve the default instance of the join.

Parameters
string$tableThe table name
Returns
ChangesListJoinBuilder

Implemented in MediaWiki\RecentChanges\ChangesListQuery\ChangesListQuery.

Referenced by MediaWiki\RecentChanges\ChangesListQuery\BasicJoin\forConds().

◆ joinForFields()

MediaWiki\RecentChanges\ChangesListQuery\JoinDependencyProvider::joinForFields ( string $table)

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

Add or retrieve the default instance of the join.

Parameters
string$tableThe table name
Returns
ChangesListJoinBuilder

Implemented in MediaWiki\RecentChanges\ChangesListQuery\ChangesListQuery.

Referenced by MediaWiki\RecentChanges\ChangesListQuery\BasicJoin\forFields().


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