MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onModifyExportQuery ( $db, &$tables, $cond, &$opts, &$join_conds, &$conds) | |
Use this hook to modify the query used by the exporter. | |
Stable to implement.
Definition at line 11 of file ModifyExportQueryHook.php.
MediaWiki\Hook\ModifyExportQueryHook::onModifyExportQuery | ( | $db, | |
& | $tables, | ||
$cond, | |||
& | $opts, | ||
& | $join_conds, | ||
& | $conds | ||
) |
Use this hook to modify the query used by the exporter.
IDatabase | $db | Database object to be queried |
array | &$tables | Tables in the query |
string | $cond | An SQL fragment included in the WHERE clause which is used to filter the results, for example to a specific page. Since 1.31, modification of this parameter has no effect. Since 1.35, you can use $conds instead to modify the array of conditions passed to IDatabase::select(). |
array | &$opts | Options for the query |
array | &$join_conds | Join conditions for the query |
array | &$conds | The array of conditions to be passed to IDatabase::select(). Can be modified. Includes the value of $cond. |
Implemented in MediaWiki\HookContainer\HookRunner.