ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
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

ilMailSearchResult::__construct ( )

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

{
}

Member Function Documentation

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

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

{
$this->result[$id] = $fields;
}
ilMailSearchResult::getFields (   $id)
Parameters
integer$id
Returns
array
Exceptions
OutOfBoundsException

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

{
if(!isset($this->result[$id]))
{
throw new OutOfBoundsException('mail_missing_result_fields');
}
return $this->result[$id];
}
ilMailSearchResult::getIds ( )
Returns
array

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

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

Field Documentation

ilMailSearchResult::$result = array()
protected

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


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