Solar_Form::setElement()
public
void
Solar_Form::setElement
( string $name
, array $info
, string $array = NULL
)
Sets one element in the form.
Parameters
(string)
$name: The element name to set or add; overrides $info['name'].(array)
$info: Element information using the same keys as in Solar_Form::$_default_element.(string)
$array: Rename the element as a key in this array.
Returns
(void)
Description
Sets one element in the form.
Appends if element does not exist.