From 8f6f9ba5df6491d396aa690dcf3e5b9070a565ca Mon Sep 17 00:00:00 2001 From: tassium Date: Wed, 29 Oct 2003 15:25:12 +0000 Subject: [PATCH] phpdocumentor preparation and a few corrections to earlier phpdocumentor work git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6044 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/abook_local_file.php | 1 + functions/addressbook.php | 7 ++++--- functions/options.php | 1 + src/addrbook_popup.php | 5 +++-- src/addrbook_search.php | 23 +++++++++++++++++------ src/addrbook_search_html.php | 15 +++++++++++---- src/addressbook.php | 21 ++++++++++++++++----- src/compose.php | 3 ++- src/delete_message.php | 3 ++- src/empty_trash.php | 3 ++- src/folders.php | 3 ++- src/folders_create.php | 3 ++- src/folders_delete.php | 3 ++- src/folders_rename_do.php | 3 ++- src/folders_rename_getname.php | 3 ++- src/folders_subscribe.php | 3 ++- src/help.php | 3 ++- src/image.php | 3 ++- src/index.php | 1 + src/left_main.php | 6 +++--- src/login.php | 10 ++++++++-- src/mailto.php | 3 ++- src/move_messages.php | 3 ++- src/options.php | 3 ++- src/options_highlight.php | 3 ++- src/options_identities.php | 3 ++- src/options_order.php | 3 ++- src/printer_friendly_bottom.php | 3 ++- src/printer_friendly_main.php | 3 ++- src/printer_friendly_top.php | 3 ++- src/read_body.php | 3 ++- src/redirect.php | 3 ++- src/right_main.php | 3 ++- src/search.php | 7 ++++--- src/signout.php | 3 ++- src/vcard.php | 3 ++- src/view_header.php | 3 ++- src/view_text.php | 3 ++- src/webmail.php | 3 ++- 39 files changed, 125 insertions(+), 56 deletions(-) diff --git a/functions/abook_local_file.php b/functions/abook_local_file.php index 49f82845..da36e849 100644 --- a/functions/abook_local_file.php +++ b/functions/abook_local_file.php @@ -24,6 +24,7 @@ /** * Store the addressbook in a local file + * @package squirrelmail */ class abook_local_file extends addressbook_backend { var $btype = 'local'; diff --git a/functions/addressbook.php b/functions/addressbook.php index dcafc36a..ccef5508 100644 --- a/functions/addressbook.php +++ b/functions/addressbook.php @@ -123,10 +123,10 @@ function addressbook_cmp($a,$b) { } -/* +/** * This is the main address book class that connect all the * backends and provide services to the functions above. - * + * @package squirrelmail */ class AddressBook { @@ -462,8 +462,9 @@ class AddressBook { } /* End of class Addressbook */ -/* +/** * Generic backend that all other backends extend + * @package squirrelmail */ class addressbook_backend { diff --git a/functions/options.php b/functions/options.php index b516e45d..cc2aecb8 100644 --- a/functions/options.php +++ b/functions/options.php @@ -53,6 +53,7 @@ define('SMOPT_SAVE_NOOP', 'save_option_noop'); * Also, I'd like to ask that people leave this alone (mostly :) until * I get it a little further along. That should only be a day or two or * three. I will remove this message when it is ready for primetime usage. + * @package squirrelmail */ class SquirrelOption { /* The basic stuff. */ diff --git a/src/addrbook_popup.php b/src/addrbook_popup.php index 9db01ee0..fc264cf3 100644 --- a/src/addrbook_popup.php +++ b/src/addrbook_popup.php @@ -9,12 +9,13 @@ * Frameset for the JavaScript version of the address book. * * $Id$ + * @package squirrelmail */ -/* Path for SquirrelMail required files. */ +/** Path for SquirrelMail required files. */ define('SM_PATH','../'); -/* SquirrelMail required files. */ +/** SquirrelMail required files. */ require_once(SM_PATH . 'include/validate.php'); require_once(SM_PATH . 'functions/addressbook.php'); diff --git a/src/addrbook_search.php b/src/addrbook_search.php index 4e914bee..b1bc299e 100644 --- a/src/addrbook_search.php +++ b/src/addrbook_search.php @@ -12,19 +12,22 @@ * addrbook_search_html.html -- If you change one, * change the other one too! * - * $Id$ + * $Id$ + * @package squirrelmail */ -/* Path for SquirrelMail required files. */ +/** + * Path for SquirrelMail required files. + */ define('SM_PATH','../'); -/* SquirrelMail required files. */ +/** SquirrelMail required files. */ require_once(SM_PATH . 'include/validate.php'); require_once(SM_PATH . 'functions/strings.php'); require_once(SM_PATH . 'functions/global.php'); require_once(SM_PATH . 'functions/html.php'); -/* lets get the global vars we may need */ +/** lets get the global vars we may need */ sqgetGlobalVar('key', $key, SQ_COOKIE); sqgetGlobalVar('username', $username, SQ_SESSION); sqgetGlobalVar('onetimepad',$onetimepad, SQ_SESSION); @@ -35,7 +38,10 @@ sqgetGlobalVar('query', $query, SQ_POST); sqgetGlobalVar('listall', $listall, SQ_POST); sqgetGlobalVar('backend', $backend, SQ_POST); -/* Function to include JavaScript code */ +/** + * Function to include JavaScript code + * @return void + */ function insert_javascript() { ?>