Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct ( $typeid='') | |
getShortWikiText ( $linker=null) | |
getShortHTMLText ( $linker=null) | |
getLongWikiText ( $linker=null) | |
getLongHTMLText ( $linker=null) | |
getWikiValue () | |
Static Public Member Functions | |
static | newFromTypeId ( $typeId) |
static | getTypeUriFromTypeId ( $typeId) |
Public Attributes | |
const | TYPE_ID = '__typ' |
Protected Member Functions | |
parseUserValue ( $value) | |
loadDataItem (DataItem $dataItem) | |
This datavalue implements special processing suitable for defining types of properties. Types behave largely like values of type SMWWikiPageValue with three main differences. First, they actively check if a value is an alias for another type, modifying the internal representation accordingly. Second, they have a modified display for emphasizing if some type is defined in SMW (built-in). Third, they use type ids for storing data (DB keys) instead of using page titles.
GNU GPL v2+
SMW\DataValues\TypesValue::__construct | ( | $typeid = '' | ) |
string | $typeid |
SMW\DataValues\TypesValue::getLongHTMLText | ( | $linker = null | ) |
SMW\DataValues\TypesValue::getLongWikiText | ( | $linker = null | ) |
SMW\DataValues\TypesValue::getShortHTMLText | ( | $linker = null | ) |
SMW\DataValues\TypesValue::getShortWikiText | ( | $linker = null | ) |
|
static |
string | $typeId |
SMW\DataValues\TypesValue::getWikiValue | ( | ) |
|
protected |
|
static |
|
protected |
const SMW\DataValues\TypesValue::TYPE_ID = '__typ' |
DV identifier