API17

JForm::setField

From Joomla! Documentation

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JForm::setField[edit]

Description[edit]

Method to set a field XML element to the form definition.


public function setField (
        &$element
        $group=null
        $replace=true
)
Parameter Type Default Description
&$element
$group null
$replace true
  • Returns
  • Defined on line 797 of libraries/joomla/form/form.php

See also[edit]


User contributed notes[edit]

Code Examples[edit]