Semantic MediaWiki and related extensions
Public Member Functions | Protected Attributes | List of all members
SMW\Query\Language\ClassDescription Class Reference
Collaboration diagram for SMW\Query\Language\ClassDescription:
Collaboration graph
[legend]

Public Member Functions

 __construct ($content)
 
 addDescription (ClassDescription $description)
 
 getFingerprint ()
 
 getCategories ()
 
 getQueryString ($asValue=false)
 
 isSingleton ()
 
 getSize ()
 
 getQueryFeatures ()
 
 prune (&$maxsize, &$maxdepth, &$log)
 
- Public Member Functions inherited from SMW\Query\Language\Description
 getPrintRequests ()
 
 setPrintRequests (array $printRequests)
 
 addPrintRequest (PrintRequest $printRequest)
 
 prependPrintRequest (PrintRequest $printRequest)
 
 getFingerprint ()
 
 getMembership ()
 
 setMembership ($membership)
 
 getQueryString ($asValue=false)
 
 isSingleton ()
 
 getSize ()
 
 getDepth ()
 
 getQueryFeatures ()
 
 prune (&$maxsize, &$maxDepth, &$log)
 

Protected Attributes

 $m_diWikiPages
 
- Protected Attributes inherited from SMW\Query\Language\Description
 $m_printreqs = array()
 
 $fingerprint = null
 

Detailed Description

Description of a single class as given by a wiki category, or of a disjunction of such classes. Corresponds to (disjunctions of) atomic classes in OWL and to (unions of) classes in RDF.

GNU GPL v2+

Since
1.6
Author
Markus Krötzsch

Constructor & Destructor Documentation

SMW\Query\Language\ClassDescription::__construct (   $content)

Constructor.

Parameters
mixed$contentDIWikiPage or array of DIWikiPage
Exceptions
Exception

Member Function Documentation

SMW\Query\Language\ClassDescription::addDescription ( ClassDescription  $description)
Parameters
ClassDescription$description
SMW\Query\Language\ClassDescription::getCategories ( )
Returns
array of DIWikiPage
SMW\Query\Language\ClassDescription::getFingerprint ( )
See also
Description::getFingerprint
Since
2.5
Returns
string
SMW\Query\Language\ClassDescription::getQueryFeatures ( )
SMW\Query\Language\ClassDescription::getQueryString (   $asValue = false)
SMW\Query\Language\ClassDescription::getSize ( )
SMW\Query\Language\ClassDescription::isSingleton ( )
SMW\Query\Language\ClassDescription::prune ( $maxsize,
$maxdepth,
$log 
)

Member Data Documentation

SMW\Query\Language\ClassDescription::$m_diWikiPages
protected

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