From: Michael M Slusarz Date: Wed, 19 Aug 2009 18:36:32 +0000 (-0600) Subject: phpdoc for authLoginParams() data X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7a07d822ec01eed6279ede02fe6067daeddca5ae;p=horde.git phpdoc for authLoginParams() data --- diff --git a/framework/Auth/lib/Horde/Auth/Application.php b/framework/Auth/lib/Horde/Auth/Application.php index caf2d678b..bac41c5e4 100644 --- a/framework/Auth/lib/Horde/Auth/Application.php +++ b/framework/Auth/lib/Horde/Auth/Application.php @@ -257,8 +257,28 @@ class Horde_Auth_Application extends Horde_Auth_Base * Returns information on what login parameters to display on the login * screen. * - * Is defined in an application's API in the function name identified by - * self::_apiMethods['loginparams']. + * @return array An array with the following keys: + *
+     * 'js_code' - (array) A list of javascript statements to be included via
+     *             Horde::addInlineScript().
+     * 'js_files' - (array) A list of javascript files to be included via
+     *              Horde::addScriptFile().
+     * 'nosidebar' - (boolean) If true, never load the sidebar when
+     *               authenticating to this app.
+     * 'params' - (array) A list of parameters to display on the login screen.
+     *            Each entry is an array with the following entries:
+     *            'label' - (string) The label of the entry.
+     *            'type' - (string) 'select', 'text', or 'password'.
+     *            'value' - (mixed) If type is 'text' or 'password', the
+     *                      text to insert into the field by default. If type
+     *                      is 'select', an array with they keys as the
+     *                      option values and an array with the following keys:
+     *                      'hidden' - (boolean) If true, the option will be
+     *                                 hidden.
+     *                      'name' - (string) The option label.
+     *                      'selected' - (boolean) If true, will be selected
+     *                                   by default.
+     * 
* * @throws Horde_Exception */