blob: d34f69051601338e599eeb69cb5567a597fd52ff (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
<?php
namespace SMW\Query;
use SMW\Query\Language\Description;
/**
* @license GNU GPL v2+
* @since 3.0
*
* @author mwjames
*/
interface Parser {
/**
* @since 3.0
*
* @param DIProperty|string $property
* @param string $value
*
* @return string
*/
public function createCondition( $property, $value );
/**
* @since 3.0
*
* @return []
*/
public function getErrors();
/**
* Describes a processed description instance in terms of the existence of
* a self reference in connection with the context page a query is
* embedded.
*
* @since 3.0
*
* @return boolean
*/
public function containsSelfReference();
/**
* @since 3.0
*
* @param string $condition
*
* @return Description
*/
public function getQueryDescription( $condition );
}
|