GNU GPL v2+
- Since
- 3.0
- Author
- Markus Krötzsch
◆ __construct()
◆ containsSelfReference()
SMW\Query\Parser\LegacyParser::containsSelfReference |
( |
| ) |
|
◆ createCondition()
SMW\Query\Parser\LegacyParser::createCondition |
( |
|
$property, |
|
|
|
$value |
|
) |
| |
◆ getErrors()
SMW\Query\Parser\LegacyParser::getErrors |
( |
| ) |
|
Return array of error messages (possibly empty).
- Returns
- array
Implements SMW\Query\Parser.
◆ getErrorString()
SMW\Query\Parser\LegacyParser::getErrorString |
( |
| ) |
|
Return error message or empty string if no error occurred.
- Returns
- string
◆ getQueryDescription()
SMW\Query\Parser\LegacyParser::getQueryDescription |
( |
|
$queryString | ) |
|
Compute an SMWDescription from a query string. Returns whatever descriptions could be wrestled from the given string (the most general result being SMWThingDescription if no meaningful condition was extracted).
- Parameters
-
- Returns
- Description
Implements SMW\Query\Parser.
◆ getQueryToken()
SMW\Query\Parser\LegacyParser::getQueryToken |
( |
| ) |
|
◆ setContextPage()
SMW\Query\Parser\LegacyParser::setContextPage |
( |
DIWikiPage |
$contextPage = null | ) |
|
◆ setDefaultNamespaces()
SMW\Query\Parser\LegacyParser::setDefaultNamespaces |
( |
|
$namespaces | ) |
|
Provide an array of namespace constants that are used as default restrictions. If NULL is given, no such default restrictions will be added (faster).
- Since
- 1.6
◆ setDefaultPrefix()
SMW\Query\Parser\LegacyParser::setDefaultPrefix |
( |
|
$languageCode = null | ) |
|
- Since
- 3.0
- Parameters
-
string | null | $languageCode | |
The documentation for this class was generated from the following file: