Solar_Form::_populate()

protected void Solar_Form::_populate ( array|string $src , string $name = NULL )

Recursive method to map the submitted values into elements.

Parameters

  • (array|string) $src: The source data populating form values. If an array, will recursively descend into the array; if a scalar, will map the value into a form element.

  • (string) $name: The name of the current element mapped from the array of submitted values. For example, $src['foo']['bar']['baz'] maps to "foo[bar][baz]".

Returns

  • (void)

Description

Recursive method to map the submitted values into elements.



Local