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

Public Member Functions

 getQueryResult (Query $query)
 

Member Function Documentation

SMW\Tests\Query\FakeQueryEngine::getQueryResult ( Query  $query)

Returns a QueryResult object that matches the condition described by a query.

Note
If the request was made for a debug (querymode MODE_DEBUG) query then a simple HTML-compatible string is returned.
Since
2.5
Parameters
Query$query
Returns
QueryResult|string

Implements SMW\QueryEngine.


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