summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/EngineOptions.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/EngineOptions.php')
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/EngineOptions.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/EngineOptions.php b/www/wiki/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/EngineOptions.php
new file mode 100644
index 00000000..55558454
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/EngineOptions.php
@@ -0,0 +1,26 @@
+<?php
+
+namespace SMW\SQLStore\QueryEngine;
+
+use SMW\Options;
+
+/**
+ * @license GNU GPL v2+
+ * @since 2.2
+ *
+ * @author mwjames
+ */
+class EngineOptions extends Options {
+
+ /**
+ * @since 2.2
+ */
+ public function __construct() {
+ parent::__construct( [
+ 'smwgIgnoreQueryErrors' => $GLOBALS['smwgIgnoreQueryErrors'],
+ 'smwgQSortFeatures' => $GLOBALS['smwgQSortFeatures'],
+ 'smwgQFilterDuplicates' => $GLOBALS['smwgQFilterDuplicates']
+ ] );
+ }
+
+}