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.ilMailSearchResult.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
25
class
ilMailSearchResult
26
{
28
protected
array
$result
= [];
29
30
public
function
__construct
()
31
{
32
}
33
34
public
function
addItem
(
int
$id
, array $fields): void
35
{
36
$this->result[
$id
] = $fields;
37
}
38
42
public
function
getIds
(): array
43
{
44
return
array_keys($this->result);
45
}
46
51
public
function
getFields
(
int
$id
): array
52
{
53
if
(!isset($this->result[$id])) {
54
throw
new
OutOfBoundsException
(
'mail_missing_result_fields'
);
55
}
56
57
return
$this->result[
$id
];
58
}
59
}
ilMailSearchResult\$result
array $result
Definition:
class.ilMailSearchResult.php:28
ilMailSearchResult\getFields
getFields(int $id)
Definition:
class.ilMailSearchResult.php:51
OutOfBoundsException
ilMailSearchResult\__construct
__construct()
Definition:
class.ilMailSearchResult.php:30
ilMailSearchResult\addItem
addItem(int $id, array $fields)
Definition:
class.ilMailSearchResult.php:34
ilMailSearchResult\getIds
getIds()
Definition:
class.ilMailSearchResult.php:42
$id
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition:
plugin.php:23
ilMailSearchResult
Definition:
class.ilMailSearchResult.php:25
Services
Mail
classes
class.ilMailSearchResult.php
Generated on Fri Apr 4 2025 22:02:50 for ILIAS by
1.8.13 (using
Doxyfile
)