API17

JForm::addNode

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

Description[edit]

Adds a new child SimpleXMLElement node to the source.


protected static function addNode (
        SimpleXMLElement $source
        SimpleXMLElement $new
)
Parameter Type Default Description
SimpleXMLElement $source SimpleXMLElement The source element on which to append.
SimpleXMLElement $new SimpleXMLElement The new element to append.
  • Returns
  • Defined on line 1731 of libraries/joomla/form/form.php

See also[edit]


User contributed notes[edit]

Code Examples[edit]