/** * Returns information on what login parameters to display on the login * screen. * * @return array An array with the following keys: * <pre> * 'js_code' - (array) A list of javascript statements to be included. * 'js_files' - (array) A list of javascript files to be included. * '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. * </pre> * * @throws Horde_Exception */ public function getLoginParams() { return $this->_base && method_exists($this->_base, 'getLoginParams') ? $this->_base->getLoginParams() : $GLOBALS['registry']->callAppMethod($this->_app, 'authLoginParams', array('noperms' => true)); }