diff options
Diffstat (limited to 'www/wiki/extensions/SemanticMediaWiki/src/SPARQLStore/QueryEngine/EngineOptions.php')
-rw-r--r-- | www/wiki/extensions/SemanticMediaWiki/src/SPARQLStore/QueryEngine/EngineOptions.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticMediaWiki/src/SPARQLStore/QueryEngine/EngineOptions.php b/www/wiki/extensions/SemanticMediaWiki/src/SPARQLStore/QueryEngine/EngineOptions.php new file mode 100644 index 00000000..8fe65bdd --- /dev/null +++ b/www/wiki/extensions/SemanticMediaWiki/src/SPARQLStore/QueryEngine/EngineOptions.php @@ -0,0 +1,28 @@ +<?php + +namespace SMW\SPARQLStore\QueryEngine; + +use SMW\Options; + +/** + * @license GNU GPL v2+ + * @since 2.1 + * + * @author mwjames + */ +class EngineOptions extends Options { + + /** + * @since 2.2 + */ + public function __construct() { + parent::__construct( [ + 'smwgIgnoreQueryErrors' => $GLOBALS['smwgIgnoreQueryErrors'], + 'smwgQSortFeatures' => $GLOBALS['smwgQSortFeatures'], + 'smwgQSubpropertyDepth' => $GLOBALS['smwgQSubpropertyDepth'], + 'smwgQSubcategoryDepth' => $GLOBALS['smwgQSubcategoryDepth'], + 'smwgSparqlQFeatures' => $GLOBALS['smwgSparqlQFeatures'] + ] ); + } + +} |