API17

JForm::setFields

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::setFields[edit]

Description[edit]

Method to set some field XML elements to the form definition.


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

See also[edit]


User contributed notes[edit]

Code Examples[edit]