Solar_Form::setType()

public void Solar_Form::setType ( string $name , string $type , string $array = NULL )

Sets the type of one element.

Parameters

  • (string) $name: The element name.

  • (string) $type: The element type ('text', 'select', etc).

  • (string) $array: Rename the element as a key in this array.

Returns

  • (void)

Description

Sets the type of one element.



Local