getLoginParams()
getLoginParams() : array
Returns information on what login parameters to display on the login
screen.
Throws
- \Horde_Exception
Returns
array
— An array with the following keys:
'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.