Previous Page
setStatus()

Solar_Form
setType()

Next Page
setValue()

setType()

public void setType ( string $name, string $type, string $array default 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.