blob: 5ec622d54470fe595c58493cc0c9c6e0989b185d (
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
|
<?php
namespace SMW\SPARQLStore\QueryEngine\Condition;
/**
* Represents a condition that matches everything. Weak conditions (see
* SMWSparqlCondition::$weakConditions) might be still be included to
* enable ordering (selecting sufficient data to order by).
*
* @ingroup SMWStore
*
* @license GNU GPL v2+
* @since 1.6
*
* @author Markus Krötzsch
*/
class TrueCondition extends Condition {
public function getCondition() {
return '';
}
public function isSafe() {
return false;
}
}
|