MediaWiki REL1_33
|
Public Member Functions | |
getInterwikiPrefix () | |
isBrokenTitle () | |
Check if this is result points to an invalid title. | |
isMissingRevision () | |
Check if target page is missing, happens when index is out of date. | |
setBrokenTitle ( $isBrokenTitle) | |
setInterwikiPrefix ( $interwikiPrefix) | |
setMissingRevision ( $isMissingRevision) | |
Public Member Functions inherited from SearchResult | |
getByteSize () | |
getCategorySnippet () | |
getExtensionData () | |
Get the extension data as: augmentor name => data. | |
getFile () | |
Get the file for this page, if one exists. | |
getInterwikiNamespaceText () | |
getRedirectSnippet () | |
getRedirectTitle () | |
getSectionSnippet () | |
getSectionTitle () | |
getTextSnippet ( $terms) | |
getTimestamp () | |
getTitle () | |
getTitleSnippet () | |
getWordCount () | |
isFileMatch () | |
Did this match file contents (eg: PDF/DJVU)? | |
setExtensionData ( $extensionData) | |
Set extension data for this result. | |
Private Attributes | |
$isBrokenTitle = false | |
$isMissingRevision = false | |
Additional Inherited Members | |
Static Public Member Functions inherited from SearchResult | |
static | newFromTitle ( $title, SearchResultSet $parentSet=null) |
Return a new SearchResult and initializes it with a title. | |
Protected Member Functions inherited from SearchResult | |
initFromTitle ( $title) | |
Initialize from a Title and if possible initializes a corresponding Revision and File. | |
initText () | |
Lazy initialization of article text from DB. | |
Protected Attributes inherited from SearchResult | |
Closure null | $extensionData |
A function returning a set of extension data. | |
File | $mImage = null |
Revision | $mRevision = null |
string | $mText |
Title | $mTitle |
SearchEngine | $searchEngine |
Definition at line 3 of file MockSearchResult.php.
MockSearchResult::getInterwikiPrefix | ( | ) |
Reimplemented from SearchResult.
Definition at line 24 of file MockSearchResult.php.
References and().
MockSearchResult::isBrokenTitle | ( | ) |
Check if this is result points to an invalid title.
Reimplemented from SearchResult.
Definition at line 15 of file MockSearchResult.php.
References $isBrokenTitle.
Referenced by setBrokenTitle().
MockSearchResult::isMissingRevision | ( | ) |
Check if target page is missing, happens when index is out of date.
Reimplemented from SearchResult.
Definition at line 7 of file MockSearchResult.php.
References $isMissingRevision.
Referenced by setMissingRevision().
MockSearchResult::setBrokenTitle | ( | $isBrokenTitle | ) |
Definition at line 19 of file MockSearchResult.php.
References $isBrokenTitle, and(), and isBrokenTitle().
MockSearchResult::setInterwikiPrefix | ( | $interwikiPrefix | ) |
Definition at line 28 of file MockSearchResult.php.
References and().
MockSearchResult::setMissingRevision | ( | $isMissingRevision | ) |
Definition at line 10 of file MockSearchResult.php.
References $isMissingRevision, and(), and isMissingRevision().
|
private |
Definition at line 5 of file MockSearchResult.php.
Referenced by isBrokenTitle(), and setBrokenTitle().
|
private |
Definition at line 4 of file MockSearchResult.php.
Referenced by isMissingRevision(), and setMissingRevision().