Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | namespace MediaWiki\CheckUser\Hook; |
4 | |
5 | use MediaWiki\CheckUser\CheckUser\Pagers\AbstractCheckUserPager; |
6 | use stdClass; |
7 | |
8 | interface SpecialCheckUserGetLinksFromRowHook { |
9 | /** |
10 | * A hook that is used to modify the generated links |
11 | * shown for an entry in the 'Get actions' check type. Any |
12 | * added strings to &$links must be properly escaped. |
13 | * Keys can be used in the array for convenience, but these |
14 | * are not used in the resulting output. |
15 | * |
16 | * @param AbstractCheckUserPager $specialCheckUser The instance of the pager being used to generate the results |
17 | * @param stdClass $row The row from the database that is being processed by the pager |
18 | * @param string[] &$links The links that the pager has defined for this row that can be modified |
19 | * @since 1.40 |
20 | */ |
21 | public function onSpecialCheckUserGetLinksFromRow( |
22 | AbstractCheckUserPager $specialCheckUser, |
23 | stdClass $row, |
24 | array &$links |
25 | ); |
26 | } |