API17

API17:JFormHelper::loadFieldType

From Joomla! Documentation

Joomla 11.1 JFormHelper::loadFieldType

Description

Method to load a form field object given a type.


public static function loadFieldType (
        $type
        $new=true
)
Parameter Type Default Description
$type string The field type.
$new boolean true Flag to toggle whether we should get a new instance of the object.
  • Returns mixed object on success, false otherwise.
  • Defined on line 68 of libraries/joomla/form/helper.php
  • Since Joomla 11.1
  • Referenced by

See also


User contributed notes

Code Examples