Additional hooks documentation
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 27 Jan 2010 02:31:48 +0000 (19:31 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 27 Jan 2010 07:27:51 +0000 (00:27 -0700)
imp/config/hooks.php.dist

index 62db1cb..02146e2 100644 (file)
@@ -48,6 +48,8 @@ class IMP_Hooks
     /**
      * PREFERENCE HOOK: Dynamically set the signature preference.
      *
+     * See horde/config/hooks.php.dist for more information.
+     *
      * @param string $username  The username.
      *
      * @return string  The signature text to use.
@@ -70,6 +72,8 @@ class IMP_Hooks
     /**
      * PREFERENCE HOOK: Dynamically set the add_source preference.
      *
+     * See horde/config/hooks.php.dist for more information.
+     *
      * @param string $username  The username.
      *
      * @return string  The add_source value.
@@ -89,6 +93,8 @@ class IMP_Hooks
     /**
      * PREFERENCE HOOK: Dynamically set the search_sources preference.
      *
+     * See horde/config/hooks.php.dist for more information.
+     *
      * @param string $username  The username.
      *
      * @return string  The search_sources value.
@@ -109,6 +115,8 @@ class IMP_Hooks
     /**
      * AJAX HOOK: Add user-defined AJAX action handlers.
      *
+     * See horde/config/hooks.php.dist for more information.
+     *
      * @param string $action         The AJAX action.
      * @param Horde_Variables $vars  The URL parameters.
      *
@@ -129,6 +137,8 @@ class IMP_Hooks
     /**
      * Do MIME type determination for compose attachments.
      *
+     * This hook is enabled by default.
+     *
      * @param string $filename  The filename.
      * @param string $tempfile  The location on the local server of the
      *                          temporary file that contains the attachment