Solar_Form::setAttribs()
public
void
Solar_Form::setAttribs
( string $name
, array $attribs
, string $array = NULL
)
Sets the attributes of one element.
Parameters
(string)
$name
: The element name.(array)
$attribs
: Set these attribs on the element; the key is the attribute name, and the value is the attribute value.(string)
$array
: Rename the element as a key in this array.
Returns
(void)
Description
Sets the attributes of one element.