Solar_Form::populate()

public void Solar_Form::populate ( array $submit = NULL )

Automatically populates form elements with specified values.

Parameters

  • (array) $submit: The source data array for populating form values as array(name => value); if null, will populate from POST or GET vars as determined from the Solar_Form::$attribs['method'] value.

Returns

  • (void)

Description

Automatically populates form elements with specified values.



Local