To allow for an in-memory processing of existing SemanticData references during an annotation process, encupsulate the DataValueFactory
to ensure the relevant instance reference is set and is available while building a DataValue
object instance.
https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/3901
GNU GPL v2+
- Since
- 3.1
- Author
- mwjames
◆ __construct()
◆ canAnnotate()
SMW\Parser\AnnotationProcessor::canAnnotate |
( |
| ) |
|
◆ getSemanticData()
SMW\Parser\AnnotationProcessor::getSemanticData |
( |
| ) |
|
◆ newDataValueByItem()
SMW\Parser\AnnotationProcessor::newDataValueByItem |
( |
DataItem |
$dataItem, |
|
|
DIProperty |
$property = null , |
|
|
|
$caption = false , |
|
|
|
$contextPage = null |
|
) |
| |
- Since
- 3.1
- Returns
- DataValue
◆ newDataValueByText()
SMW\Parser\AnnotationProcessor::newDataValueByText |
( |
|
$propertyName, |
|
|
|
$valueString, |
|
|
|
$caption = false , |
|
|
DIWikiPage |
$contextPage = null |
|
) |
| |
- Since
- 3.1
- Returns
- DataValue
◆ release()
SMW\Parser\AnnotationProcessor::release |
( |
| ) |
|
◆ setCanAnnotate()
SMW\Parser\AnnotationProcessor::setCanAnnotate |
( |
|
$canAnnotate | ) |
|
The documentation for this class was generated from the following file: