gplx/mediawiki/includes/specials/Hook/ContribsPager__reallyDoQuer...

32 lines
1004 B
PHP

<?php
namespace MediaWiki\Hook;
use MediaWiki\Pager\ContributionsPager;
// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "ContribsPager::reallyDoQuery" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface ContribsPager__reallyDoQueryHook {
/**
* This hook is called before really executing the query for My Contributions
*
* @since 1.35
*
* @param array &$data an array of results of all contribs queries
* @param ContributionsPager $pager The ContributionsPager object hooked into
* @param string $offset Index offset, inclusive
* @param int $limit Exact query limit
* @param bool $descending Query direction, false for ascending, true for descending
* @return bool|void True or no return value to continue or false to abort
*/
public function onContribsPager__reallyDoQuery( &$data, $pager, $offset,
$limit, $descending
);
}