Actions

API17

JSimpleXMLElement::addChild

From Joomla! Documentation

Revision as of 21:33, 11 May 2013 by JoomlaWikiBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JSimpleXMLElement::addChild

Description

Adds a direct child to the element.

Description:JSimpleXMLElement::addChild [Edit Descripton]

public function addChild (
        $name
        $attrs=array
        $level=null
)
Parameter Type Default Description
$name string
$attrs array array()
$level int null $level
  • Returns The added child object
  • Defined on line 499 of libraries/joomla/utilities/simplexml.php

See also

SeeAlso:JSimpleXMLElement::addChild [Edit See Also]

User contributed notes

<CodeExamplesForm />