RDF mapping for DataValues that map to a literal.
More...
|
| __construct ( $typeBase, $typeLocal) |
|
| addValue (RdfWriter $writer, $propertyValueNamespace, $propertyValueLName, $dataType, $snakNamespace, PropertyValueSnak $snak) |
| Adds specific value.
|
|
RDF mapping for DataValues that map to a literal.
- Copyright
- GPL-2.0-or-later
- Author
- Daniel Kinzler
-
Stas Malyshev
◆ __construct()
Wikibase\Repo\Rdf\Values\LiteralValueRdfBuilder::__construct |
( |
|
$typeBase, |
|
|
|
$typeLocal |
|
) |
| |
- Parameters
-
string | null | $typeBase | |
string | null | $typeLocal | |
◆ addValue()
Wikibase\Repo\Rdf\Values\LiteralValueRdfBuilder::addValue |
( |
RdfWriter |
$writer, |
|
|
|
$propertyValueNamespace, |
|
|
|
$propertyValueLName, |
|
|
|
$dataType, |
|
|
|
$snakNamespace, |
|
|
PropertyValueSnak |
$snak |
|
) |
| |
Adds specific value.
- Parameters
-
RdfWriter | $writer | |
string | $propertyValueNamespace | Property value relation namespace |
string | $propertyValueLName | Property value relation name |
string | $dataType | Property data type |
PropertyValueSnak | $snak | |
Implements Wikibase\Repo\Rdf\ValueSnakRdfBuilder.
◆ getLiteralValue()
Wikibase\Repo\Rdf\Values\LiteralValueRdfBuilder::getLiteralValue |
( |
DataValue |
$value | ) |
|
|
protected |
◆ $typeBase
Wikibase\Repo\Rdf\Values\LiteralValueRdfBuilder::$typeBase |
|
private |
◆ $typeLocal
Wikibase\Repo\Rdf\Values\LiteralValueRdfBuilder::$typeLocal |
|
private |
The documentation for this class was generated from the following file: