repo.or.cz
/
mediawiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Move ResultWrapper subclasses to Rdbms
[mediawiki.git]
/
tests
/
phpunit
/
includes
/
api
/
MockApiQueryBase.php
blob
9915a38d0a457debe57dce81d5bbbea3a41bdd62
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
}