ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilMailSearchResult.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
9
class
ilMailSearchResult
10
{
14
protected
$result
= array();
15
19
public
function
__construct
()
20
{
21
}
22
26
public
function
addItem
(
$id
, array $fields)
27
{
28
$this->result[
$id
] = $fields;
29
}
30
34
public
function
getIds
()
35
{
36
return
array_keys($this->result);
37
}
38
44
public
function
getFields
(
$id
)
45
{
46
if
(!isset($this->result[
$id
])) {
47
throw
new
OutOfBoundsException(
'mail_missing_result_fields'
);
48
}
49
50
return
$this->result[
$id
];
51
}
52
}
ilMailSearchResult\addItem
addItem($id, array $fields)
Definition:
class.ilMailSearchResult.php:26
$id
if(!array_key_exists('StateId', $_REQUEST)) $id
Definition:
expirywarning.php:14
ilMailSearchResult\getFields
getFields($id)
Definition:
class.ilMailSearchResult.php:44
ilMailSearchResult\__construct
__construct()
Definition:
class.ilMailSearchResult.php:19
ilMailSearchResult\$result
$result
Definition:
class.ilMailSearchResult.php:14
ilMailSearchResult\getIds
getIds()
Definition:
class.ilMailSearchResult.php:34
php
ilMailSearchResult
Definition:
class.ilMailSearchResult.php:9
Services
Mail
classes
class.ilMailSearchResult.php
Generated on Thu Jan 16 2025 19:02:24 for ILIAS by
1.8.13 (using
Doxyfile
)