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

Public Member Functions

 getEntityList ()
 
 getPropertyList ()
 
 prune ()
 
 addDataItem (DataItem $dataItem)
 
 addProperty (DIProperty $property=null)
 

Detailed Description

This class records selected entities used in a QueryResult by the time the ResultArray creates an object instance which avoids unnecessary work in the QueryResultDependencyListResolver (in terms of recursive processing of the QueryResult) to find related "column" entities (those related to a printrequest).

GNU GPL v2+

Since
2.4
Author
mwjames

Member Function Documentation

SMW\Query\Result\InMemoryEntityProcessList::addDataItem ( DataItem  $dataItem)
Since
2.4
Parameters
DataItem$dataItem
SMW\Query\Result\InMemoryEntityProcessList::addProperty ( DIProperty  $property = null)
Since
2.4
Parameters
DIProperty | null$property
SMW\Query\Result\InMemoryEntityProcessList::getEntityList ( )
Since
2.4
Returns
array
SMW\Query\Result\InMemoryEntityProcessList::getPropertyList ( )
Since
3.0
Returns
array
SMW\Query\Result\InMemoryEntityProcessList::prune ( )
Since
2.4

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