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

Public Member Functions

 newValueDescription (DataItem $dataItem, DIProperty $property=null, $comparator=SMW_CMP_EQ)
 
 newSomeProperty (DIProperty $property, Description $description)
 
 newThingDescription ()
 
 newDisjunction ($descriptions=array())
 
 newConjunction ($descriptions=array())
 
 newNamespaceDescription ($ns)
 
 newClassDescription (DIWikiPage $category)
 
 newConceptDescription (DIWikiPage $concept)
 
 newFromDataValue (DataValue $dataValue)
 

Detailed Description

GNU GPL v2+

Since
2.4
Author
mwjames

Member Function Documentation

SMW\Query\DescriptionFactory::newClassDescription ( DIWikiPage  $category)
Since
2.4
Parameters
DIWikiPage$category
Returns
ClassDescription
SMW\Query\DescriptionFactory::newConceptDescription ( DIWikiPage  $concept)
Since
2.4
Parameters
DIWikiPage$concept
Returns
ConceptDescription
SMW\Query\DescriptionFactory::newConjunction (   $descriptions = array())
Since
2.4
Parameters
Description[]$descriptions
Returns
Conjunction
SMW\Query\DescriptionFactory::newDisjunction (   $descriptions = array())
Since
2.4
Parameters
Description[]$descriptions
Returns
Disjunction
SMW\Query\DescriptionFactory::newFromDataValue ( DataValue  $dataValue)
Since
2.4
Parameters
DataValue$dataValue
Returns
Description
SMW\Query\DescriptionFactory::newNamespaceDescription (   $ns)
Since
2.4
Parameters
integer$ns
Returns
NamespaceDescription
SMW\Query\DescriptionFactory::newSomeProperty ( DIProperty  $property,
Description  $description 
)
Since
2.4
Parameters
DIProperty$property
Description$description
Returns
SomeProperty
SMW\Query\DescriptionFactory::newThingDescription ( )
Since
2.4
Returns
ThingDescription
SMW\Query\DescriptionFactory::newValueDescription ( DataItem  $dataItem,
DIProperty  $property = null,
  $comparator = SMW_CMP_EQ 
)
Since
2.4
Parameters
DataItem$dataItem
DIProperty | null$property= null
integer$comparator
Returns
ValueDescription

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