Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct ( $typeid='') | |
setOutputFormat ( $formatstring) | |
getShortWikiText ( $linker=null) | |
getShortHTMLText ( $linker=null) | |
getLongWikiText ( $linker=null) | |
getLongHTMLText ( $linker=null) | |
getWikiValue () | |
getBoolean () | |
Protected Member Functions | |
parseUserValue ( $value) | |
loadDataItem (DataItem $dataItem) | |
getStandardCaption ( $useformat) | |
Protected Attributes | |
$trueCaption | |
$falseCaption | |
This datavalue implements the handling of Boolean datavalues.
GNU GPL v2+
SMW\DataValues\BooleanValue::__construct | ( | $typeid = '' | ) |
string | $typeid |
SMW\DataValues\BooleanValue::getBoolean | ( | ) |
SMW\DataValues\BooleanValue::getLongHTMLText | ( | $linker = null | ) |
SMW\DataValues\BooleanValue::getLongWikiText | ( | $linker = null | ) |
SMW\DataValues\BooleanValue::getShortHTMLText | ( | $linker = null | ) |
SMW\DataValues\BooleanValue::getShortWikiText | ( | $linker = null | ) |
|
protected |
Get text for displaying the value of this property, or false if not valid.
$useformat | bool, true if the output format should be used, false if the returned text should be parsable |
SMW\DataValues\BooleanValue::getWikiValue | ( | ) |
|
protected |
DataItem | $dataItem |
|
protected |
SMW\DataValues\BooleanValue::setOutputFormat | ( | $formatstring | ) |