dépôts
/
lhc
/
web
/
wiklou.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge "Revert "Remove old remapping hacks from Database::indexName()""
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
api
/
MockApiQueryBase.php
1
<
?php
2
class
MockApiQueryBase
extends
ApiQueryBase
{
3
private
$name
;
4
5
public function
execute
() {
6
}
7
8
public function
__construct
(
$name
=
'mock'
) {
9
$this
->
name
=
$name
;
10
}
11
12
public function
getModuleName
() {
13
return
$this
->
name
;
14
}
15
16
public function
getModulePath
() {
17
return
'query+'
.
$this
->
getModuleName
();
18
}
19
}