Wikibase
MediaWiki Wikibase extension
|
RDF mapping for TimeValues. More...
Public Member Functions | |
__construct (DateTimeValueCleaner $dateCleaner, ComplexValueRdfHelper $complexValueHelper=null) | |
Public Member Functions inherited from Wikibase\Repo\Rdf\ValueSnakRdfBuilder | |
addValue (RdfWriter $writer, $propertyValueNamespace, $propertyValueLName, $dataType, $snakNamespace, PropertyValueSnak $snak) | |
Adds specific value. | |
Private Member Functions | |
sayDateLiteral (RdfWriter $writer, TimeValue $value) | |
addValueNode (RdfWriter $writer, $propertyValueNamespace, $propertyValueLName, $dataType, $snakNamespace, TimeValue $value) | |
Adds a value node representing all details of $value. | |
Private Attributes | |
$dateCleaner | |
$complexValueHelper | |
RDF mapping for TimeValues.
Wikibase\Repo\Rdf\Values\TimeRdfBuilder::__construct | ( | DateTimeValueCleaner | $dateCleaner, |
ComplexValueRdfHelper | $complexValueHelper = null ) |
DateTimeValueCleaner | $dateCleaner | |
ComplexValueRdfHelper | null | $complexValueHelper |
|
private |
Adds a value node representing all details of $value.
RdfWriter | $writer | |
string | $propertyValueNamespace | Property value relation namespace |
string | $propertyValueLName | Property value relation name |
string | $dataType | Property data type |
string | $snakNamespace | |
TimeValue | $value |
|
private |
|
private |
|
private |