/nasmail/functions/addressbook.phpfunctions/addressbook.php - Functions and classes for the addressbook system
Functions require SM_PATH and support of forms.php functions
| Class | Description |
|---|---|
AddressBook
|
This is the main address book class that connect all the backends and provide services to the functions above. |
addressbook_backend
|
Generic backend that all other backends extend |
include_once
(SM_PATH.'functions/display_messages.php')
(line 25)
include_once
(SM_PATH.'functions/abook_local_file.php')
(line 1313)
PHP 5 requires that the class be made first, which seems rather logical, and should have been the way it was generated the first time.
include_once
(SM_PATH.'functions/abook_database.php')
(line 1321)
Only load database backend if database is configured
include_once
(SM_PATH.'functions/abook_ldap_server.php')
(line 1314)
abook_list_writable_backends (line 364)
Provides list of writeable backends.
Works only when address is added ($name='addaddr') Function uses different name in SquirrelMail 1.4.9 and it is not available when functions/addressbook.php is loaded.
addressbook_cmp (line 176)
Callback function used to sort address book entries by name Had to move this function outside of the Addressbook Class PHP 4.0.4 Seemed to be having problems with inline functions.
addressbook_init (line 38)
Create and initialize an addressbook object.
addressbook_inp_field (line 315)
Make an input field In SquirrelMail 1.4.9 function is not available when functions/addressbook.php is loaded.
address_form (line 336)
Output form to add and modify address data In SquirrelMail 1.4.9 function is not available when functions/addressbook.php is loaded.
addr_display_result (line 453)
List search results
Function was available only to src/compose.php in html address book mode in NaSMail 1.0-1.3.
addr_insert_hidden (line 401)
Print hidden input fields in address book form
Function was available only to src/compose.php in html address book mode in NaSMail 1.0-1.3.
alistcmp (line 196)
Callback function used to sort address book entries
Sorting order depends on return value of get_abook_sort() function
get_abook_sort (line 250)
Address book sorting options
returns address book sorting order. Possible return values
nsm_abook_count (line 763)
Creates "Viewing Addresses: x to x (x total)" string
nsm_abook_pager (line 552)
Creates page navigation links for address book listing
Function shares some code with get_paginator_str() function.
nsm_abook_page_link (line 713)
Creates link to some address book page
nsm_abook_toggle_link (line 726)
Adds checkbox toggle control in address book listing
show_abook_sort_button (line 279)
This function shows the address book sort button.
Documentation generated on Sun, 22 Nov 2009 17:36:14 +0200 by phpDocumentor 1.4.3