Semantic MediaWiki and related extensions
|
Public Member Functions | |
noHighlight () | |
addExcerpt ( $hash, $excerpt) | |
getExcerpt ( $hash) | |
getExcerpts () | |
hasHighlight () | |
Protected Attributes | |
$excerpts = [] | |
$noHighlight = false | |
$hasHighlight = false | |
$stripTags = true | |
Record excerpts for query results that support an excerpt retrieval function.
GNU GPL v2+
SMW\Query\Excerpts::addExcerpt | ( | $hash, | |
$excerpt | |||
) |
DIWikiPage | string | $hash | |
string | integer | $score |
SMW\Query\Excerpts::getExcerpt | ( | $hash | ) |
SMW\Query\Excerpts::getExcerpts | ( | ) |
SMW\Query\Excerpts::hasHighlight | ( | ) |
SMW\Query\Excerpts::noHighlight | ( | ) |