functions/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 |
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.
Only load database backend if database is configured
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.
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.
Create and initialize an addressbook object.
Make an input field In SquirrelMail 1.4.9 function is not available when functions/addressbook.php is loaded.
Output form to add and modify address data In SquirrelMail 1.4.9 function is not available when functions/addressbook.php is loaded.
List search results
Function was available only to src/compose.php in html address book mode in NaSMail 1.0-1.3.
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.
Callback function used to sort address book entries
Sorting order depends on return value of get_abook_sort() function
Address book sorting options
returns address book sorting order. Possible return values
Creates "Viewing Addresses: x to x (x total)" string
Creates page navigation links for address book listing
Function shares some code with get_paginator_str() function.
Creates link to some address book page
Adds checkbox toggle control in address book listing
This function shows the address book sort button.
Documentation generated on Sun, 22 Nov 2009 17:36:14 +0200 by phpDocumentor 1.4.3