1 | <?php |
||
25 | class Scope { |
||
26 | /** |
||
27 | * @var string |
||
28 | * |
||
29 | * The scope of the search, either as absolute uri or as a path relative to the |
||
30 | * search arbiter. |
||
31 | */ |
||
32 | public $href; |
||
33 | |||
34 | /** |
||
35 | * @var string|int 0, 1 or 'infinite' |
||
36 | * |
||
37 | * How deep the search query should be with 0 being only the scope itself, |
||
38 | * 1 being all direct child entries of the scope and infinite being all entries |
||
39 | * in the scope collection at any depth. |
||
40 | */ |
||
41 | public $depth; |
||
42 | |||
43 | /** |
||
44 | * @var string|null |
||
45 | * |
||
46 | * the path of the search scope relative to the dav server, or null if the scope is outside the dav server |
||
47 | */ |
||
48 | public $path; |
||
49 | |||
50 | /** |
||
51 | * @param string $href |
||
52 | * @param int|string $depth |
||
53 | * @param string|null $path |
||
54 | */ |
||
55 | public function __construct($href = '', $depth = 1, $path = null) { |
||
60 | } |
||
61 |