Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct (Store $store, ParserData $parserData, DisplayTitleFinder $displayTitleFinder) | |
setFeatureSet ( $featureSet) | |
setCheckMagicWords (CheckMagicWords $checkMagicWords) | |
doBuild () | |
getTitle () | |
getContent () | |
setAttachments (array $attachments) | |
getAttachmentContent () | |
isVisible () | |
Static Public Member Functions | |
static | tabs ( $list, $attachment='', $derived='') |
static | getModules () |
Protected Member Functions | |
getMagicWords () | |
fetchContent ( $showFactbox=SMW_FACTBOX_NONEMPTY) | |
createTable (SemanticData $semanticData) | |
Protected Attributes | |
$isVisible = false | |
$content = null | |
Class handling the "Factbox" content rendering
GNU GPL v2+
SMW\Factbox\Factbox::__construct | ( | Store | $store, |
ParserData | $parserData, | ||
DisplayTitleFinder | $displayTitleFinder | ||
) |
Store | $store | |
ParserData | $parserData | |
DisplayTitleFinder | $displayTitleFinder |
|
protected |
Returns a formatted factbox table
SMWSemanticData | $semanticData |
SMW\Factbox\Factbox::doBuild | ( | ) |
|
protected |
Returns content found for a given ParserOutput object and if the required custom data was not available then semantic data are retrieved from the store for a given subject.
The method checks whether the given setting of $showfactbox requires displaying the given data at all.
SMW\Factbox\Factbox::getAttachmentContent | ( | ) |
SMW\Factbox\Factbox::getContent | ( | ) |
|
protected |
Returns magic words attached to the ParserOutput object
|
static |
Returns required resource modules
SMW\Factbox\Factbox::getTitle | ( | ) |
Returns Title object
SMW\Factbox\Factbox::isVisible | ( | ) |
Returns if content is visible
SMW\Factbox\Factbox::setAttachments | ( | array | $attachments | ) |
array | $attachments |
SMW\Factbox\Factbox::setCheckMagicWords | ( | CheckMagicWords | $checkMagicWords | ) |
CheckMagicWords | $checkMagicWords |
SMW\Factbox\Factbox::setFeatureSet | ( | $featureSet | ) |
integer | $featureSet |
|
static |
string | $rendered | |
string | $derived |