Solar_View_Helper_Form::_setAttribsForm()

protected void Solar_View_Helper_Form::_setAttribsForm ( void )

Merges the form-tag attributes in this fashion, with the later ones overriding the earlier ones:

Parameters

  • None.

Returns

  • (void)

Description

Merges the form-tag attributes in this fashion, with the later ones overriding the earlier ones:

  1. The $_default_attribs array.

  2. The $_config['attribs'] array.

  3. Any attribs set via the auto() method.

  4. Any attribs set via setAttrib() or setAttribs().

This keeps it so that values set directly in the view object take precedence over anything automated via a form object.



Local