ILIAS
trunk Revision v11.0_alpha-1846-g895b5f47236
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
SearcherInterface.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Services\Search
;
22
23
use
ILIAS\MetaData\Elements\RessourceID\RessourceIDInterface
;
24
use
ILIAS\MetaData\Search\Clauses\FactoryInterface
;
25
use
ILIAS\MetaData\Search\Clauses\ClauseInterface
;
26
use
ILIAS\MetaData\Search\Filters\FilterInterface
;
27
use
ILIAS\MetaData\Search\Filters\Placeholder
;
28
29
interface
SearcherInterface
30
{
34
public
function
getClauseFactory
():
FactoryInterface
;
35
45
public
function
getFilter
(
46
int
|
Placeholder
$obj_id =
Placeholder::ANY
,
47
int
|
Placeholder
$sub_id =
Placeholder::ANY
,
48
string
|
Placeholder
$type =
Placeholder::ANY
49
):
FilterInterface
;
50
57
public
function
execute
(
58
ClauseInterface
$clause,
59
?
int
$limit,
60
?
int
$offset,
61
FilterInterface
...$filters
62
): \Generator;
63
}
ILIAS\MetaData\Search\Filters\FilterInterface
Definition:
FilterInterface.php:23
FactoryInterface
ILIAS\File\Capabilities\ANY
Definition:
Permissions.php:38
ILIAS\MetaData\Services\Search\SearcherInterface\getFilter
getFilter(int|Placeholder $obj_id=Placeholder::ANY, int|Placeholder $sub_id=Placeholder::ANY, string|Placeholder $type=Placeholder::ANY)
Get a filter with which the results of a search can be restricted.
ILIAS\MetaData\Services\Search\SearcherInterface
Definition:
SearcherInterface.php:29
ILIAS\MetaData\Search\Filters\Placeholder
Placeholder
Definition:
Placeholder.php:23
ClauseInterface
ILIAS\MetaData\Services\Search\SearcherInterface\getClauseFactory
getClauseFactory()
Get a factory where you can assemble your search clause.
ILIAS\MetaData\Search\Clauses\FactoryInterface
Definition:
FactoryInterface.php:25
ILIAS\MetaData\Services\Search
Definition:
Searcher.php:21
RessourceIDInterface
ILIAS\MetaData\Search\Clauses\ClauseInterface
Definition:
ClauseInterface.php:26
FilterInterface
ILIAS\MetaData\Services\Search\SearcherInterface\execute
execute(ClauseInterface $clause, ?int $limit, ?int $offset, FilterInterface ... $filters)
Results are always ordered first by obj_id, then sub_id, then type.
components
ILIAS
MetaData
classes
Services
Search
SearcherInterface.php
Generated on Mon Apr 21 2025 23:03:10 for ILIAS by
1.8.13 (using
Doxyfile
)