Public Member Functions | |
| __construct ($row) | |
| 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. | |
| getTitle () | |
| getScore () | |
| getTextSnippet ($terms) | |
| getTitleSnippet ($terms) | |
| getRedirectSnippet ($terms) | |
| getRedirectTitle () | |
| getSectionSnippet () | |
| getSectionTitle () | |
| getTimestamp () | |
| getWordCount () | |
| getByteSize () | |
| hasRelated () | |
| getInterwikiPrefix () | |
Public Attributes | |
| $mRevision = null | |
| $mImage = null | |
Protected Member Functions | |
| initText () | |
| Lazy initialization of article text from DB. | |
Definition at line 593 of file SearchEngine.php.
| SearchResult::__construct | ( | $ | row | ) |
Reimplemented in PostgresSearchResult.
Definition at line 597 of file SearchEngine.php.
References Title::makeTitle(), Revision::newFromTitle(), and wfFindFile().
| SearchResult::getByteSize | ( | ) |
Definition at line 727 of file SearchEngine.php.
References initText().
| SearchResult::getInterwikiPrefix | ( | ) |
Definition at line 742 of file SearchEngine.php.
| SearchResult::getRedirectSnippet | ( | $ | terms | ) |
| $terms | Array: terms to highlight |
Definition at line 680 of file SearchEngine.php.
| SearchResult::getRedirectTitle | ( | ) |
Definition at line 687 of file SearchEngine.php.
| SearchResult::getScore | ( | ) |
Reimplemented in PostgresSearchResult.
Definition at line 636 of file SearchEngine.php.
| SearchResult::getSectionSnippet | ( | ) |
Definition at line 694 of file SearchEngine.php.
| SearchResult::getSectionTitle | ( | ) |
Definition at line 701 of file SearchEngine.php.
| SearchResult::getTextSnippet | ( | $ | terms | ) |
| $terms | Array: terms to highlight |
Definition at line 657 of file SearchEngine.php.
References $wgAdvancedSearchHighlighting, $wgUser, initText(), and SearchEngine::userHighlightPrefs().
| SearchResult::getTimestamp | ( | ) |
| SearchResult::getTitle | ( | ) |
| SearchResult::getTitleSnippet | ( | $ | terms | ) |
| $terms | Array: terms to highlight |
Definition at line 672 of file SearchEngine.php.
| SearchResult::getWordCount | ( | ) |
Definition at line 719 of file SearchEngine.php.
References initText().
| SearchResult::hasRelated | ( | ) |
| SearchResult::initText | ( | ) | [protected] |
Lazy initialization of article text from DB.
Definition at line 643 of file SearchEngine.php.
Referenced by getByteSize(), getTextSnippet(), and getWordCount().
| SearchResult::isBrokenTitle | ( | ) |
Check if this is result points to an invalid title.
Definition at line 611 of file SearchEngine.php.
| SearchResult::isMissingRevision | ( | ) |
Check if target page is missing, happens when index is out of date.
Definition at line 622 of file SearchEngine.php.
| SearchResult::$mImage = null |
Definition at line 595 of file SearchEngine.php.
| SearchResult::$mRevision = null |
Definition at line 594 of file SearchEngine.php.
1.5.9