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

Public Member Functions

 __construct (array $descriptions=array())
 
 getFingerprint ()
 
 getDescriptions ()
 
 addDescription (Description $description)
 
 getQueryString ($asvalue=false)
 
 isSingleton ()
 
 getSize ()
 
 getDepth ()
 
 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

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

Detailed Description

Description of a collection of many descriptions, all of which must be satisfied (AND, conjunction).

Corresponds to conjunction in OWL and SPARQL. Not available in RDFS.

GNU GPL v2+

Since
1.6
Author
Markus Krötzsch

Constructor & Destructor Documentation

SMW\Query\Language\Conjunction::__construct ( array  $descriptions = array())
Since
1.6
Parameters
array$descriptions

Member Function Documentation

SMW\Query\Language\Conjunction::addDescription ( Description  $description)

TODO: This may not be a good solution, since it does modify $description and since it does not react to future changes

SMW\Query\Language\Conjunction::getDepth ( )
SMW\Query\Language\Conjunction::getDescriptions ( )
SMW\Query\Language\Conjunction::getFingerprint ( )
See also
Description::getFingerprint
Since
2.5
Returns
string
SMW\Query\Language\Conjunction::getQueryFeatures ( )
SMW\Query\Language\Conjunction::getQueryString (   $asvalue = false)
SMW\Query\Language\Conjunction::getSize ( )
SMW\Query\Language\Conjunction::isSingleton ( )
SMW\Query\Language\Conjunction::prune ( $maxsize,
$maxdepth,
$log 
)

Member Data Documentation

SMW\Query\Language\Conjunction::$descriptions = array()
protected

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