<?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')) {
* 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
{
/**
* 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>
* @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)
{
/**
* 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
*
* @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
{
* 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
/**
* 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>
/**
* 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.
*/