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

Public Member Functions

 __construct (Store $store, PrintRequest $printRequest)
 
 setQueryToken (QueryToken $queryToken=null)
 
 findAndMatch (DataItem $dataItem)
 
 getRequestOptions ($useLimit=true)
 

Detailed Description

Returns the result content (DI objects) for a single PrintRequest, representing as cell of the intersection between a subject row and a print column.

GNU GPL v2+

Since
2.5
Author
Markus Krötzsch
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
mwjames

Constructor & Destructor Documentation

SMW\Query\Result\ResultFieldMatchFinder::__construct ( Store  $store,
PrintRequest  $printRequest 
)
Since
2.5
Parameters
Store$store
PrintRequest$printRequest

Member Function Documentation

SMW\Query\Result\ResultFieldMatchFinder::findAndMatch ( DataItem  $dataItem)
Since
2.5
Parameters
DataItem$dataItem
DataItem[]|[]
SMW\Query\Result\ResultFieldMatchFinder::getRequestOptions (   $useLimit = true)

Make a request option object based on the given parameters, and return NULL if no such object is required. The parameter defines if the limit should be taken into account, which is not always desired (especially if results are to be cached for future use).

Parameters
boolean$useLimit
Returns
RequestOptions|null
SMW\Query\Result\ResultFieldMatchFinder::setQueryToken ( QueryToken  $queryToken = null)
Since
2.5
Parameters
QueryToken | null$queryToken

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