3 class MockSearchResult
extends RevisionSearchResult
{
5 private $isMissingRevision = false;
7 private $isBrokenTitle = false;
9 private $interwikiPrefix = '';
11 public function isMissingRevision() {
12 return $this->isMissingRevision
;
15 public function setMissingRevision( $isMissingRevision ) {
16 $this->isMissingRevision
= $isMissingRevision;
20 public function isBrokenTitle() {
21 return $this->isBrokenTitle
;
24 public function setBrokenTitle( $isBrokenTitle ) {
25 $this->isBrokenTitle
= $isBrokenTitle;
29 public function getInterwikiPrefix() {
30 return $this->interwikiPrefix
;
33 public function setInterwikiPrefix( $interwikiPrefix ) {
34 $this->interwikiPrefix
= $interwikiPrefix;