Previous Page
reset()

Solar_Form
setAttribs()

Next Page
setElement()

setAttribs()

public void setAttribs ( string $name, array $attribs, string $array default 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.