Fix phpdoc errors
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 31 Dec 2009 19:38:12 +0000 (12:38 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 31 Dec 2009 22:45:39 +0000 (15:45 -0700)
imp/lib/Application.php
imp/lib/Compose.php
imp/lib/Imap/Tree.php
imp/lib/Prefs/Identity.php
imp/lib/Ui/Compose.php
imp/lib/Ui/Folder.php

index 05a5005..2656a51 100644 (file)
@@ -1,4 +1,15 @@
 <?php
+/**
+ * IMP application API.
+ *
+ * This file defines Horde's core API interface. Other core Horde libraries
+ * can interact with Horde through this API.
+ *
+ * See the enclosed file COPYING for license information (GPL). If you
+ * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
+ *
+ * @package IMP
+ */
 
 /* Determine the base directories. */
 if (!defined('IMP_BASE')) {
@@ -19,17 +30,6 @@ if (!defined('HORDE_BASE')) {
  * Horde_Registry_Application::). */
 require_once HORDE_BASE . '/lib/core.php';
 
-/**
- * IMP application API.
- *
- * This file defines IMP's external API interface. Other applications
- * can interact with IMP through this API.
- *
- * See the enclosed file COPYING for license information (GPL). If you
- * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
- *
- * @package IMP
- */
 class IMP_Application extends Horde_Registry_Application
 {
     /**
@@ -105,10 +105,15 @@ class IMP_Application extends Horde_Registry_Application
      * IMP base initialization.
      *
      * Global variables defined:
-     *   $imp_imap    - An IMP_Imap object
-     *   $imp_mbox    - Current mailbox information
-     *   $imp_notify  - A Horde_Notification_Listener object
-     *   $imp_search  - An IMP_Search object
+     *   $imp_imap     - An IMP_Imap object
+     *   $imp_mbox     - Current mailbox information
+     *   $imp_notify   - A Horde_Notification_Listener object
+     *   $imp_search   - An IMP_Search object
+     *   $notification - Notification object
+     *   $registry     - Registry object
+     *
+     * Global constants defined:
+     *   IMP_TEMPLATES - (string) Location of template files.
      *
      * @param array $args  Optional arguments:
      * <pre>
index 5efe298..80806d8 100644 (file)
@@ -282,7 +282,7 @@ class IMP_Compose
      * @param string $data  The text of the draft message.
      *
      * @return string  Status string.
-     * @throw IMP_Compose_Exception
+     * @throws IMP_Compose_Exception
      */
     protected function _saveDraftServer($data)
     {
index 5c8fd2f..438e825 100644 (file)
@@ -1644,7 +1644,7 @@ class IMP_Imap_Tree
     /**
      * Get any custom icon configured for the given element.
      *
-     * @params array $elt  A tree element.
+     * @param array $elt  A tree element.
      *
      * @return array  An array with the 'icon', 'icondir', and 'alt'
      *                information for the element, or false if no icon
index 531548b..a9beeea 100644 (file)
@@ -11,8 +11,7 @@
  *
  * @author   Jan Schneider <jan@horde.org>
  * @author   Chuck Hagenbuch <chuck@horde.org>
- * @category IMP
- * @package  Horde_Prefs
+ * @package  IMP
  */
 class Imp_Prefs_Identity extends Horde_Prefs_Identity
 {
index 83cd5a4..0b0043b 100644 (file)
@@ -17,8 +17,8 @@ class IMP_Ui_Compose
      * Expand addresses in a string. Only the last address in the string will
      * be expanded.
      *
-     * @var string $input             The input string.
-     * @var IMP_Compose $imp_compose  An IMP_Compose object.
+     * @param string $input             The input string.
+     * @param IMP_Compose $imp_compose  An IMP_Compose object.
      *
      * @return mixed  If a string, this value should be used as the new
      *                input string.  If an array, the first value is the
index a52f971..e563104 100644 (file)
@@ -23,8 +23,8 @@ class IMP_Ui_Folder
     /**
      * Create the tree images for a list of folder elements.
      *
-     * @var array $rows     Folder rows returned from IMP_Imap_Tree::build().
-     * @var array $options  Additional options:
+     * @params array $rows     Folder rows returned from IMP_Imap_Tree::build().
+     * @params array $options  Additional options:
      * <pre>
      * 'expand_url' - (Horde_Url) The URL to use for expand/collapse links.
      * </pre>
@@ -47,8 +47,8 @@ class IMP_Ui_Folder
     /**
      * Create a tree image from a folder element entry.
      *
-     * @var array $elt      An entry returned from IMP_Imap_Tree::element().
-     * @var array $options  See self::getTreeImages().
+     * @params array $elt      An entry returned from IMP_Imap_Tree::element().
+     * @params array $options  See self::getTreeImages().
      *
      * @return string  The image string.
      */