ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
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
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilMailAutoCompleteSearch.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
24
class
ilMailAutoCompleteSearch
25
{
26
protected
ilMailAutoCompleteRecipientResult
$result
;
28
protected
array
$providers
= [];
29
30
public
function
__construct
(
ilMailAutoCompleteRecipientResult
$result)
31
{
32
$this->result =
$result
;
33
}
34
35
public
function
addProvider
(
Iterator
$provider
): void
36
{
37
$this->providers[] =
$provider
;
38
}
39
40
public
function
search
(): void
41
{
42
foreach
($this->providers as
$provider
) {
43
foreach
($provider as $row) {
44
if
(!$this->result->isResultAddable()) {
45
$this->result->result[
'hasMoreResults'
] =
true
;
46
break
2;
47
}
48
$this->result->addResult($row[
'login'
], $row[
'firstname'
], $row[
'lastname'
]);
49
}
50
}
51
}
52
}
ilMailAutoCompleteSearch\__construct
__construct(ilMailAutoCompleteRecipientResult $result)
Definition:
class.ilMailAutoCompleteSearch.php:30
ilMailAutoCompleteRecipientResult
Class ilMailAutoCompleteRecipientResult.
Definition:
class.ilMailAutoCompleteRecipientResult.php:24
ilMailAutoCompleteSearch\search
search()
Definition:
class.ilMailAutoCompleteSearch.php:40
$provider
$provider
Definition:
ltitoken.php:83
ilMailAutoCompleteSearch
Class ilMailAutoCompleteSearch.
Definition:
class.ilMailAutoCompleteSearch.php:24
ilMailAutoCompleteSearch\addProvider
addProvider(Iterator $provider)
Definition:
class.ilMailAutoCompleteSearch.php:35
Iterator
ilMailAutoCompleteSearch\$providers
array $providers
Definition:
class.ilMailAutoCompleteSearch.php:28
ilMailAutoCompleteSearch\$result
ilMailAutoCompleteRecipientResult $result
Definition:
class.ilMailAutoCompleteSearch.php:26
Services
Mail
classes
class.ilMailAutoCompleteSearch.php
Generated on Thu Apr 3 2025 22:02:24 for ILIAS by
1.8.13 (using
Doxyfile
)