ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilMailSearchResult Class Reference
+ Collaboration diagram for ilMailSearchResult:

Public Member Functions

 __construct ()
 
 addItem ($id, array $fields)
 
 getIds ()
 
 getFields ($id)
 

Protected Attributes

 $result = array()
 

Detailed Description

Author
Michael Jansen mjans.nosp@m.en@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

Definition at line 9 of file class.ilMailSearchResult.php.

Constructor & Destructor Documentation

◆ __construct()

ilMailSearchResult::__construct ( )

Definition at line 19 of file class.ilMailSearchResult.php.

20  {
21  }

Member Function Documentation

◆ addItem()

ilMailSearchResult::addItem (   $id,
array  $fields 
)
Parameters
array$item

Definition at line 26 of file class.ilMailSearchResult.php.

References $id.

27  {
28  $this->result[$id] = $fields;
29  }
if(!array_key_exists('StateId', $_REQUEST)) $id

◆ getFields()

ilMailSearchResult::getFields (   $id)
Parameters
integer$id
Returns
array
Exceptions
OutOfBoundsException

Definition at line 44 of file class.ilMailSearchResult.php.

References $id.

45  {
46  if (!isset($this->result[$id])) {
47  throw new OutOfBoundsException('mail_missing_result_fields');
48  }
49 
50  return $this->result[$id];
51  }
if(!array_key_exists('StateId', $_REQUEST)) $id

◆ getIds()

ilMailSearchResult::getIds ( )
Returns
array

Definition at line 34 of file class.ilMailSearchResult.php.

35  {
36  return array_keys($this->result);
37  }

Field Documentation

◆ $result

ilMailSearchResult::$result = array()
protected

Definition at line 14 of file class.ilMailSearchResult.php.


The documentation for this class was generated from the following file: