Semantic MediaWiki and related extensions
Public Attributes | List of all members
SMW\Query\QueryContext Interface Reference
Inheritance diagram for SMW\Query\QueryContext:
Inheritance graph
[legend]

Public Attributes

const SPECIAL_PAGE = 1000
 
const INLINE_QUERY = 1001
 
const DEFERRED_QUERY = 1002
 
const CONCEPT_DESC = 1003
 
const CURTAILMENT_MODE = 1004
 
const MODE_INSTANCES = 1
 
const MODE_COUNT = 2
 
const MODE_DEBUG = 3
 
const MODE_NONE = 4
 

Detailed Description

"Query contexts" define restrictions during query parsing and are used to preconfigure query (e.g. special pages show no further results link)

GNU GPL v2+

Since
2.5
Author
Markus Krötzsch

Member Data Documentation

◆ CONCEPT_DESC

const SMW\Query\QueryContext::CONCEPT_DESC = 1003

Query for concept definition

◆ CURTAILMENT_MODE

const SMW\Query\QueryContext::CURTAILMENT_MODE = 1004

#show query using the curtailment

◆ DEFERRED_QUERY

const SMW\Query\QueryContext::DEFERRED_QUERY = 1002

Deferred query definition

◆ INLINE_QUERY

const SMW\Query\QueryContext::INLINE_QUERY = 1001

Query for inline use

◆ MODE_COUNT

const SMW\Query\QueryContext::MODE_COUNT = 2

find result count only

◆ MODE_DEBUG

const SMW\Query\QueryContext::MODE_DEBUG = 3

prepare query, but show debug data instead of executing it

◆ MODE_INSTANCES

const SMW\Query\QueryContext::MODE_INSTANCES = 1

normal instance retrieval

◆ MODE_NONE

const SMW\Query\QueryContext::MODE_NONE = 4

do nothing with the query

◆ SPECIAL_PAGE

const SMW\Query\QueryContext::SPECIAL_PAGE = 1000

Query for special page


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

About | General disclaimer | Privacy policy