Solar_Form::_prepareName()

protected string Solar_Form::_prepareName ( string $name , string $array = NULL )

Prepares a name as an array key, if needed.

Parameters

  • (string) $name: The element name.

  • (string) $array: The array name, if any, into which we place the element.

Returns

  • (string) The prepared element name.

Description

Prepares a name as an array key, if needed.



Local