Solar_Form::setElements()

public void Solar_Form::setElements ( array $list , string $array = 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.



Local