ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilMailAutoCompleteRecipientProvider Class Reference

Class ilMailAutoCompleteRecipientProvider. More...

+ Inheritance diagram for ilMailAutoCompleteRecipientProvider:
+ Collaboration diagram for ilMailAutoCompleteRecipientProvider:

Public Member Functions

 valid ()
 "Valid" implementation of iterator interface
 next ()
 "Next" implementation of iterator interface
 __destruct ()
 Destructor Free the result.

Protected Attributes

 $db
 $res
 $data = array()
 $quoted_term = ''
 $term = ''
 $user_id = 0

Detailed Description

Constructor & Destructor Documentation

ilMailAutoCompleteRecipientProvider::__destruct ( )

Destructor Free the result.

Definition at line 82 of file class.ilMailAutoCompleteRecipientProvider.php.

{
if($this->res)
{
$this->db->free($this->res);
$this->res = null;
}
}

Member Function Documentation

ilMailAutoCompleteRecipientProvider::next ( )

"Next" implementation of iterator interface

Definition at line 74 of file class.ilMailAutoCompleteRecipientProvider.php.

{
}
ilMailAutoCompleteRecipientProvider::valid ( )

"Valid" implementation of iterator interface

Returns
boolean true/false

Reimplemented in ilMailAutoCompleteSentMailsRecipientsProvider, and ilMailAutoCompleteUserProvider.

Definition at line 64 of file class.ilMailAutoCompleteRecipientProvider.php.

{
$this->data = $this->db->fetchAssoc($this->res);
return is_array($this->data);
}

Field Documentation

ilMailAutoCompleteRecipientProvider::$data = array()
protected
ilMailAutoCompleteRecipientProvider::$db
protected
ilMailAutoCompleteRecipientProvider::$quoted_term = ''
protected
ilMailAutoCompleteRecipientProvider::$res
protected
ilMailAutoCompleteRecipientProvider::$term = ''
protected
ilMailAutoCompleteRecipientProvider::$user_id = 0
protected

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