ILIAS
Release_5_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
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
{
48
throw
new
OutOfBoundsException(
'mail_missing_result_fields'
);
49
}
50
51
return
$this->result[$id];
52
}
53
}
Services
Mail
classes
class.ilMailSearchResult.php
Generated on Wed Apr 27 2016 21:01:45 for ILIAS by
1.8.1.2 (using
Doxyfile
)