Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct ( $typeid='') | |
setFieldProperties (array $properties) | |
getProperties () | |
getValuesFromString ( $value) | |
getShortWikiText ( $linker=null) | |
getShortHTMLText ( $linker=null) | |
getLongWikiText ( $linker=null) | |
getLongHTMLText ( $linker=null) | |
getWikiValue () | |
getPropertyDataItems () | |
getDataItems () | |
Public Attributes | |
const | TYPE_ID = '_ref_rec' |
Protected Member Functions | |
parseUserValue ( $value) | |
loadDataItem (DataItem $dataItem) | |
ReferenceValue allows to define additional DV to describe the state of a SourceValue in terms of provenance or referential evidence. ReferenceValue is stored as separate entity to the original subject in order to encapsulate the SourceValue from the remaining annotations with reference to a subject.
Defining which fields are required can vary and therefore is left to the user to specify such requirements using the `'Has fields' property.
For example, declaring [[Has fields::SomeValue;Date;SomeUrl;...]]
on a SomeProperty
property page is to define:
SomeValue
with its own specificationSomeUrl
with its own specificationAn annotation like [[SomeProperty::Foo;12-12-1212;http://example.org]]
is expected to be a concatenated string and to be separated by ';' to indicate the next value string and will corespondent to the index of the Has fields
declaration.
GNU GPL v2+
SMW\DataValues\ReferenceValue::__construct | ( | $typeid = '' | ) |
string | $typeid |
SMW\DataValues\ReferenceValue::getDataItems | ( | ) |
SMW\DataValues\ReferenceValue::getLongHTMLText | ( | $linker = null | ) |
SMW\DataValues\ReferenceValue::getLongWikiText | ( | $linker = null | ) |
SMW\DataValues\ReferenceValue::getProperties | ( | ) |
SMW\DataValues\ReferenceValue::getPropertyDataItems | ( | ) |
SMW\DataValues\ReferenceValue::getShortHTMLText | ( | $linker = null | ) |
SMW\DataValues\ReferenceValue::getShortWikiText | ( | $linker = null | ) |
SMW\DataValues\ReferenceValue::getValuesFromString | ( | $value | ) |
SMW\DataValues\ReferenceValue::getWikiValue | ( | ) |
|
protected |
|
protected |
SMW\DataValues\ReferenceValue::setFieldProperties | ( | array | $properties | ) |
const SMW\DataValues\ReferenceValue::TYPE_ID = '_ref_rec' |
DV identifier