X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fabook_local_file.php;h=7863fa7c1b62991639842cf1064fe9c3aba708a0;hb=d2523fba460000828abde942f000ecc4857a829d;hp=d47316955add5c1d5e8cec75dfa06d673e1bf119;hpb=d5811b5c521b9ffaf9a99a944da7248a60bd26f1;p=squirrelmail.git diff --git a/functions/abook_local_file.php b/functions/abook_local_file.php index d4731695..7863fa7c 100644 --- a/functions/abook_local_file.php +++ b/functions/abook_local_file.php @@ -1,24 +1,43 @@ path to addressbook file - ** ? create => if true: file is created if it does not exist. - ** ? umask => umask set before opening file. - ** - ** NOTE. This class should not be used directly. Use the - ** "AddressBook" class instead. - ** - ** $Id$ - **/ - - class abook_local_file extends addressbook_backend { +/** + * abook_local_file.php + * + * Copyright (c) 1999-2001 The Squirrelmail Development Team + * Licensed under the GNU GPL. For full terms see the file COPYING. + * + * Backend for addressbook as a pipe separated 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. + * + * NOTE. This class should not be used directly. Use the + * "AddressBook" class instead. + * + * $Id$ + */ + +/*****************************************************************/ +/*** THIS FILE NEEDS TO HAVE ITS FORMATTING FIXED!!! ***/ +/*** PLEASE DO SO AND REMOVE THIS COMMENT SECTION. ***/ +/*** + Base level indent should begin at left margin, as ***/ +/*** the first line of the class definition below. ***/ +/*** + All identation should consist of four space blocks ***/ +/*** + Tab characters are evil. ***/ +/*** + all comments should use "slash-star ... star-slash" ***/ +/*** style -- no pound characters, no slash-slash style ***/ +/*** + FLOW CONTROL STATEMENTS (if, while, etc) SHOULD ***/ +/*** ALWAYS USE { AND } CHARACTERS!!! ***/ +/*** + Please use ' instead of ", when possible. Note " ***/ +/*** should always be used in _( ) function calls. ***/ +/*** Thank you for your help making the SM code more readable. ***/ +/*****************************************************************/ + +class abook_local_file extends addressbook_backend { var $btype = 'local'; var $bname = 'local_file';