Previous Page
setElement()

Solar_Form
setElements()

Next Page
setStatus()

setElements()

public void setElements ( array $list, string $array default NULL )

Sets multiple elements in the form.

Parameters

  • (array) $list: Element information as array(name => info), where each info value is an array like Solar_Form::$_default_element.
  • (string) $array: Rename each element as a key in this array.

Returns

  • (void)

Description

Sets multiple elements in the form.

Appends if they do not exist.