|
ILIAS
Release_3_10_x_branch Revision 61812
|
Mail Box class Base class for creating and handling mail boxes. More...
Collaboration diagram for ilAddressbook:Public Member Functions | |
| ilAddressbook ($a_user_id=0) | |
| Constructor. | |
| searchUsers ($a_query_str) | |
| Search users in addressbook. | |
| 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 | |
| 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 121 of file class.ilAddressbook.php.
References $res.
| ilAddressbook::checkEntry | ( | $a_login | ) |
Check whether an entry with a given login name already exists.
| string | login name |
Definition at line 267 of file class.ilAddressbook.php.
References $result.
| ilAddressbook::checkEntryByLogin | ( | $a_login | ) |
Definition at line 287 of file class.ilAddressbook.php.
References $result.
| ilAddressbook::deleteEntries | ( | $a_entries | ) |
delete some entries of user
| array | array of entry ids |
Definition at line 228 of file class.ilAddressbook.php.
References deleteEntry().
Here is the call graph for this function:| ilAddressbook::deleteEntry | ( | $a_addr_id | ) |
delete one entry
| integer | addr id |
Definition at line 245 of file class.ilAddressbook.php.
References $res.
Referenced by deleteEntries().
Here is the caller graph for this function:| ilAddressbook::getEntries | ( | ) |
get all entries the user
Definition at line 169 of file class.ilAddressbook.php.
References $res, DB_FETCHMODE_OBJECT, and getSearchQuery().
Here is the call graph for this function:| ilAddressbook::getEntry | ( | $a_addr_id | ) |
get all entries the user
| integer | address id |
Definition at line 204 of file class.ilAddressbook.php.
References DB_FETCHMODE_OBJECT.
| ilAddressbook::getSearchQuery | ( | ) |
Definition at line 310 of file class.ilAddressbook.php.
Referenced by getEntries().
Here is the caller graph for this function:| ilAddressbook::ilAddressbook | ( | $a_user_id = 0 | ) |
| ilAddressbook::searchUsers | ( | $a_query_str | ) |
Search users in addressbook.
| string | query string |
Definition at line 85 of file class.ilAddressbook.php.
References $res, and DB_FETCHMODE_OBJECT.
Referenced by ilMailSearchGUI\showResults().
Here is the caller graph for this function:| ilAddressbook::setSearchQuery | ( | $search_query = '' | ) |
Definition at line 306 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 147 of file class.ilAddressbook.php.
References $res.
| 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.