ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilMailAutoCompleteRecipientProvider Class Reference

Class ilMailAutoCompleteRecipientProvider. More...

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

Public Member Functions

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

Protected Attributes

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

Detailed Description

Constructor & Destructor Documentation

◆ __destruct()

ilMailAutoCompleteRecipientProvider::__destruct ( )

Destructor Free the result.

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

82 {
83 if($this->res)
84 {
85 $this->db->free($this->res);
86 $this->res = null;
87 }
88 }

Member Function Documentation

◆ next()

ilMailAutoCompleteRecipientProvider::next ( )

"Next" implementation of iterator interface

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

74 {
75 }

◆ valid()

ilMailAutoCompleteRecipientProvider::valid ( )

"Valid" implementation of iterator interface

Returns
boolean true/false

Reimplemented in ilMailAutoCompleteSentMailsRecipientsProvider, and ilMailAutoCompleteUserProvider.

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

64 {
65 $this->data = $this->db->fetchAssoc($this->res);
66
67 return is_array($this->data);
68 }

Field Documentation

◆ $data

ilMailAutoCompleteRecipientProvider::$data = array()
protected

◆ $db

ilMailAutoCompleteRecipientProvider::$db
protected

◆ $quoted_term

ilMailAutoCompleteRecipientProvider::$quoted_term = ''
protected

◆ $res

ilMailAutoCompleteRecipientProvider::$res
protected

◆ $term

ilMailAutoCompleteRecipientProvider::$term = ''
protected

◆ $user_id

ilMailAutoCompleteRecipientProvider::$user_id = 0
protected

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