Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\SQLStore\QueryEngine\OrderConditionsComplementor Class Reference

Public Member Functions

 __construct (QuerySegmentListBuilder $querySegmentListBuilder)
 
 setSortKeys ($sortKeys)
 
 getSortKeys ()
 
 getErrors ()
 
 isSupported ($isSupported)
 
 applyOrderConditions ($qid)
 

Detailed Description

Modifies a given query object at $qid to account for all ordering conditions in the Query $query. It is always required that $qid is the id of a query that joins with the SMW ID_TABELE so that the field alias.smw_title is available for default sorting.

GNU GPL v2+

Since
2.5
Author
mwjames
Markus Krötzsch

Constructor & Destructor Documentation

SMW\SQLStore\QueryEngine\OrderConditionsComplementor::__construct ( QuerySegmentListBuilder  $querySegmentListBuilder)
Since
2.5
Parameters
QuerySegmentListBuilder$querySegmentListBuilder

Member Function Documentation

SMW\SQLStore\QueryEngine\OrderConditionsComplementor::applyOrderConditions (   $qid)
Since
2.5
Parameters
integer$qid
Returns
QuerySegment[]
SMW\SQLStore\QueryEngine\OrderConditionsComplementor::getErrors ( )
Since
2.5
Returns
array
SMW\SQLStore\QueryEngine\OrderConditionsComplementor::getSortKeys ( )
Since
2.5
Returns
string[]
SMW\SQLStore\QueryEngine\OrderConditionsComplementor::isSupported (   $isSupported)
Since
2.5
Parameters
boolean$isSupported
SMW\SQLStore\QueryEngine\OrderConditionsComplementor::setSortKeys (   $sortKeys)
Since
2.5
Parameters
array$sortKeys

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