GNU GPL v2+
- Since
- 2.2
- Author
- mwjames
-
Markus Krötzsch
◆ __construct()
SMW\Exporter\ExpResourceMapper::__construct |
( |
Store |
$store | ) |
|
◆ invalidateCache()
SMW\Exporter\ExpResourceMapper::invalidateCache |
( |
DIWikiPage |
$subject | ) |
|
◆ mapPropertyToResourceElement()
SMW\Exporter\ExpResourceMapper::mapPropertyToResourceElement |
( |
DIProperty |
$property, |
|
|
|
$useAuxiliaryModifier = false , |
|
|
|
$seekImportVocabulary = true |
|
) |
| |
Create an ExpElement for some internal resource, given by an DIProperty object.
This code is only applied to user-defined properties, since the code for special properties in Exporter::getSpecialPropertyResource may require information about the namespace in which some special property is used.
- Note
- $useAuxiliaryModifier is to determine whether an auxiliary property resource is to store a helper value (see Exporter::newAuxiliaryExpElement) should be generated
- Parameters
-
DIProperty | $property | |
boolean | $useAuxiliaryModifier | |
boolean | $seekImportVocabulary | |
- Returns
- ExpResource
- Exceptions
-
◆ mapWikiPageToResourceElement()
SMW\Exporter\ExpResourceMapper::mapWikiPageToResourceElement |
( |
DIWikiPage |
$diWikiPage, |
|
|
|
$useAuxiliaryModifier = false |
|
) |
| |
Create an ExpElement for some internal resource, given by an DIWikiPage object. This is the one place in the code where URIs of wiki pages and user-defined properties are determined. A modifier can be given to make variants of a URI, typically done for auxiliary properties. In this case, the URI is modiied by appending "-23$modifier" where "-23" is the URI encoding of "#" (a symbol not occurring in MW titles).
- Parameters
-
DIWikiPage | $diWikiPage | |
boolean | $useAuxiliaryModifier | |
- Returns
- ExpResource
◆ reset()
SMW\Exporter\ExpResourceMapper::reset |
( |
| ) |
|
◆ setBCAuxiliaryUse()
SMW\Exporter\ExpResourceMapper::setBCAuxiliaryUse |
( |
|
$bcAuxiliaryUse | ) |
|
◆ AUX_MARKER
const SMW\Exporter\ExpResourceMapper::AUX_MARKER = 'aux' |
Identifies auxiliary data (helper values)
The documentation for this class was generated from the following file: