Solar_View_Helper_Form::addElements()

public Solar_View_Helper_Form Solar_View_Helper_Form::addElements ( Solar_Form|array $spec , array $list = NULL )

Adds multiple elements to the form.

Parameters

  • (Solar_Form|array) $spec: If a Solar_Form object, uses the $elements property as the element source. If an array, it is treated as a sequential array of element information arrays.

  • (array) $list: A white-list of element names to add from the $spec. If empty, all elements from the $spec are added.

Returns

  • (Solar_View_Helper_Form)

Description

Adds multiple elements to the form.



Local