Solar_View_Helper_Form::auto()

public Solar_View_Helper_Form Solar_View_Helper_Form::auto ( Solar_Form|array $spec )

Automatically adds multiple pieces to the form.

Parameters

  • (Solar_Form|array) $spec: If a Solar_Form object, adds attributes, elements and feedback, and sets status, from the object properties. If an array, treats it as a a collection of element info arrays and adds them.

Returns

  • (Solar_View_Helper_Form)

Description

Automatically adds multiple pieces to the form.



Local