MediaWiki REL1_32
MockSearchResult.php
Go to the documentation of this file.
1<?php
2
4 private $isMissingRevision = false;
5 private $isBrokenTitle = false;
6
7 public function isMissingRevision() {
9 }
12 return $this;
13 }
14
15 public function isBrokenTitle() {
17 }
18
19 public function setBrokenTitle( $isBrokenTitle ) {
21 return $this;
22 }
23
24 public function getInterwikiPrefix() {
25 return $this->interwikiPrefix;
26 }
27
28 public function setInterwikiPrefix( $interwikiPrefix ) {
29 $this->interwikiPrefix = $interwikiPrefix;
30 return $this;
31 }
32}
isBrokenTitle()
Check if this is result points to an invalid title.
setMissingRevision( $isMissingRevision)
setBrokenTitle( $isBrokenTitle)
isMissingRevision()
Check if target page is missing, happens when index is out of date.
setInterwikiPrefix( $interwikiPrefix)