| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Mail Box class Base class for creating and handling mail boxes. More...
 Collaboration diagram for ilAddressbook:
 Collaboration diagram for ilAddressbook:| Public Member Functions | |
| ilAddressbook ($a_user_id=0) | |
| Constructor. | |
| searchUsers ($a_query_str) | |
| Search users in addressbook // tab: compose -> search user. | |
| addEntry ($a_login, $a_firstname, $a_lastname, $a_email) | |
| add entry | |
| updateEntry ($a_addr_id, $a_login, $a_firstname, $a_lastname, $a_email) | |
| update entry | |
| getEntries () | |
| get all entries the user | |
| getEntry ($a_addr_id) | |
| get all entries the user | |
| entryToString ($a_addr_id) | |
| returns a readable string representation of a given entry | |
| deleteEntries ($a_entries) | |
| delete some entries of user | |
| deleteEntry ($a_addr_id) | |
| delete one entry | |
| checkEntry ($a_login) | |
| Check whether an entry with a given login name already exists. | |
| checkEntryByLogin ($a_login) | |
| setSearchQuery ($search_query= '') | |
| getSearchQuery () | |
| Data Fields | |
| $ilias | |
| $lng | |
| $user_id | |
| $table_addr | |
Mail Box class Base class for creating and handling mail boxes.
Definition at line 34 of file class.ilAddressbook.php.
| ilAddressbook::addEntry | ( | $a_login, | |
| $a_firstname, | |||
| $a_lastname, | |||
| $a_email | |||
| ) | 
add entry
| string | login | 
| string | firstname | 
| string | lastname | 
| string | 
Definition at line 130 of file class.ilAddressbook.php.
References $ilDB.
| ilAddressbook::checkEntry | ( | $a_login | ) | 
Check whether an entry with a given login name already exists.
| string | login name | 
Definition at line 328 of file class.ilAddressbook.php.
| ilAddressbook::checkEntryByLogin | ( | $a_login | ) | 
Definition at line 347 of file class.ilAddressbook.php.
| ilAddressbook::deleteEntries | ( | $a_entries | ) | 
delete some entries of user
| array | array of entry ids | 
Definition at line 286 of file class.ilAddressbook.php.
References deleteEntry().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilAddressbook::deleteEntry | ( | $a_addr_id | ) | 
delete one entry
| integer | addr id | 
Definition at line 303 of file class.ilAddressbook.php.
References $ilDB.
Referenced by deleteEntries().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilAddressbook::entryToString | ( | $a_addr_id | ) | 
returns a readable string representation of a given entry
| integer | address_id | 
Definition at line 256 of file class.ilAddressbook.php.
References $out, and getEntry().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilAddressbook::getEntries | ( | ) | 
get all entries the user
Definition at line 184 of file class.ilAddressbook.php.
References $data, $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and getSearchQuery().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilAddressbook::getEntry | ( | $a_addr_id | ) | 
get all entries the user
| integer | address id | 
Definition at line 229 of file class.ilAddressbook.php.
References $ilDB, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by entryToString().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilAddressbook::getSearchQuery | ( | ) | 
Definition at line 369 of file class.ilAddressbook.php.
Referenced by getEntries().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilAddressbook::ilAddressbook | ( | $a_user_id = 0 | ) | 
| ilAddressbook::searchUsers | ( | $a_query_str | ) | 
Search users in addressbook // tab: compose -> search user.
| string | query string | 
Definition at line 86 of file class.ilAddressbook.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilMailSearchGUI\showResults().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilAddressbook::setSearchQuery | ( | $search_query = '' | ) | 
Definition at line 365 of file class.ilAddressbook.php.
| ilAddressbook::updateEntry | ( | $a_addr_id, | |
| $a_login, | |||
| $a_firstname, | |||
| $a_lastname, | |||
| $a_email | |||
| ) | 
update entry
| integer | addr_id | 
| string | login | 
| string | firstname | 
| string | lastname | 
| string | 
Definition at line 162 of file class.ilAddressbook.php.
References $ilDB.
| ilAddressbook::$ilias | 
Definition at line 41 of file class.ilAddressbook.php.
Referenced by ilAddressbook().
| ilAddressbook::$lng | 
Definition at line 48 of file class.ilAddressbook.php.
Referenced by ilAddressbook().
| ilAddressbook::$table_addr | 
Definition at line 62 of file class.ilAddressbook.php.
| ilAddressbook::$user_id | 
Definition at line 55 of file class.ilAddressbook.php.