ApiSMWQuery Class Reference

Inherited by ApiAsk, and ApiAskArgs.

List of all members.

Protected Member Functions

 getQuery ($queryString, array $printouts)
 getQueryResult (SMWQuery $query)
 addQueryResult (SMWQueryResult $queryResult)
 requireParameters (array $params, array $required)
 TODO: when < 1.17 are no longer supported, use ApiBase::PARAM_REQUIRED.

Protected Attributes

 $parameters


Detailed Description

Definition at line 15 of file ApiSMWQuery.php.


Member Function Documentation

ApiSMWQuery::getQuery ( queryString,
array $  printouts 
) [protected]

ApiSMWQuery::getQueryResult ( SMWQuery query  )  [protected]

Parameters:
SMWQuery $query
Returns:
SMWQueryResult

Definition at line 47 of file ApiSMWQuery.php.

References smwfGetStore().

Referenced by ApiAskArgs::execute(), and ApiAsk::execute().

ApiSMWQuery::addQueryResult ( SMWQueryResult queryResult  )  [protected]

Definition at line 51 of file ApiSMWQuery.php.

References SMWQueryResult::serializeToArray().

Referenced by ApiAskArgs::execute(), and ApiAsk::execute().

ApiSMWQuery::requireParameters ( array $  params,
array $  required 
) [protected]

TODO: when < 1.17 are no longer supported, use ApiBase::PARAM_REQUIRED.

Definition at line 79 of file ApiSMWQuery.php.

Referenced by ApiAskArgs::execute(), and ApiAsk::execute().


Member Data Documentation

ApiSMWQuery::$parameters [protected]

Definition at line 23 of file ApiSMWQuery.php.


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

Generated on Sun Mar 18 07:15:41 2012 for Semantic MediaWiki by  doxygen 1.5.6