ILIAS
release_4-3 Revision
|
Mail Box class Base class for creating and handling mail boxes. More...
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 134 of file class.ilAddressbook.php.
ilAddressbook::checkEntry | ( | $a_login | ) |
Check whether an entry with a given login name already exists.
string | login name |
Definition at line 332 of file class.ilAddressbook.php.
References $result.
ilAddressbook::checkEntryByLogin | ( | $a_login | ) |
Definition at line 351 of file class.ilAddressbook.php.
References $result.
ilAddressbook::deleteEntries | ( | $a_entries | ) |
delete some entries of user
array | array of entry ids |
Definition at line 290 of file class.ilAddressbook.php.
References deleteEntry().
ilAddressbook::deleteEntry | ( | $a_addr_id | ) |
delete one entry
integer | addr id |
Definition at line 307 of file class.ilAddressbook.php.
Referenced by deleteEntries().
ilAddressbook::entryToString | ( | $a_addr_id | ) |
returns a readable string representation of a given entry
integer | address_id |
Definition at line 260 of file class.ilAddressbook.php.
References $out, and getEntry().
ilAddressbook::getEntries | ( | ) |
get all entries the user
Definition at line 188 of file class.ilAddressbook.php.
References $data, $query, $res, $row, DB_FETCHMODE_OBJECT, and getSearchQuery().
ilAddressbook::getEntry | ( | $a_addr_id | ) |
get all entries the user
integer | address id |
Definition at line 233 of file class.ilAddressbook.php.
References $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by entryToString().
ilAddressbook::getSearchQuery | ( | ) |
Definition at line 373 of file class.ilAddressbook.php.
Referenced by getEntries().
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 $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilMailSearchGUI\showResults().
ilAddressbook::setSearchQuery | ( | $search_query = '' | ) |
Definition at line 369 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 166 of file class.ilAddressbook.php.
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.