Backend for address book as a pipe separated file
Stores the address book in a local file
An array with the following elements must be passed to the class constructor (elements marked ? are optional):
filename => path to addressbook file ? create => if true: file is created if it does not exist. ? umask => umask set before opening file. ? name => name of address book. ? detect_writeable => detect address book access permissions by checking file permissions. ? writeable => allow writing into address book. Used only when detect_writeable is set to false. ? listing => enable/disable listingNOTE. This class should not be used directly. Use the "AddressBook" class instead.
Located in /functions/abook_local_file.php (line 35)
addressbook_backend | --abook_local_file
Backend name
Backend type
Create file, if it not present
Detect, if address book is writeable by checking file permisions
File handle
File used to store data
Sets max entry size (number of bytes used for all address book fields
(including escapes) + 4 delimiters + 1 linefeed)
controls listing of address book
Umask of the file
Control write access to address book
Option does not have any effect, if 'detect_writeable' is 'true'
Inherited from addressbook_backend
addressbook_backend::$bnum
addressbook_backend::$error
addressbook_backend::$sname
Constructor
Add address
List all addresses
Lookup alias
Modify address
Open the addressbook file and store the file pointer.
Use $file as the file to open, or the class' own filename property. If $param is empty and file is open, do nothing.
Overwrite the file with data from $rows
NOTE! Previous locks are broken by this function
Function for quoting values before saving
Delete address
Search the file
Inherited From addressbook_backend
addressbook_backend::add()
addressbook_backend::fullname()
addressbook_backend::list_addr()
addressbook_backend::lookup()
addressbook_backend::modify()
addressbook_backend::remove()
addressbook_backend::search()
addressbook_backend::set_error()
Documentation generated on Sat, 07 Oct 2006 16:08:37 +0300 by phpDocumentor 1.3.0RC6