Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\Query\Parser\DescriptionProcessor Class Reference

Public Member Functions

 __construct ($queryFeatures=false)
 
 setContextPage (DIWikiPage $contextPage=null)
 
 clear ()
 
 getErrors ()
 
 addError ($error)
 
 addErrorWithMsgKey ($msgKey)
 
 constructDescriptionForPropertyObjectValue (DIProperty $property, $chunk)
 
 constructDescriptionForWikiPageValueChunk ($chunk)
 
 constructDisjunctiveCompoundDescriptionFrom (Description $currentDescription=null, Description $newDescription=null)
 
 constructConjunctiveCompoundDescriptionFrom (Description $currentDescription=null, Description $newDescription=null)
 

Detailed Description

GNU GPL v2+

Since
2.4
Author
mwjames
Markus Krötzsch

Constructor & Destructor Documentation

SMW\Query\Parser\DescriptionProcessor::__construct (   $queryFeatures = false)
Since
2.4
Parameters
integer$queryFeatures

Member Function Documentation

SMW\Query\Parser\DescriptionProcessor::addError (   $error)
Since
2.4
Parameters
array | string$error
SMW\Query\Parser\DescriptionProcessor::addErrorWithMsgKey (   $msgKey)
Since
2.4
Parameters
string$msgKey
SMW\Query\Parser\DescriptionProcessor::clear ( )
Since
2.4
SMW\Query\Parser\DescriptionProcessor::constructConjunctiveCompoundDescriptionFrom ( Description  $currentDescription = null,
Description  $newDescription = null 
)
Since
2.4
Parameters
Description | null$currentDescription
Description | null$newDescription
Returns
Description|null
SMW\Query\Parser\DescriptionProcessor::constructDescriptionForPropertyObjectValue ( DIProperty  $property,
  $chunk 
)
Since
2.4
Parameters
DIProperty$property
string$chunk
Returns
Description|null
SMW\Query\Parser\DescriptionProcessor::constructDescriptionForWikiPageValueChunk (   $chunk)
Since
2.4
Parameters
string$chunk
Returns
Description|null
SMW\Query\Parser\DescriptionProcessor::constructDisjunctiveCompoundDescriptionFrom ( Description  $currentDescription = null,
Description  $newDescription = null 
)
Since
2.4
Parameters
Description | null$currentDescription
Description | null$newDescription
Returns
Description|null
SMW\Query\Parser\DescriptionProcessor::getErrors ( )
Since
2.4
Returns
array
SMW\Query\Parser\DescriptionProcessor::setContextPage ( DIWikiPage  $contextPage = null)
Since
2.4
Parameters
DIWikiPage | null$contextPage

The documentation for this class was generated from the following file: