summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/src/SPARQLStore/QueryEngine/EngineOptions.php
blob: 8fe65bdd2be02ef113a51257997c0a3f6c7bdeec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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']
		] );
	}

}