Actions

API17

JSimpleXMLElement

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

Description

Description:JSimpleXMLElement [Edit Descripton]

Methods

Visibility Method name Description
public __construct Constructor, sets up all the default values.
public addAttribute Adds an attribute to the element.
public addChild Adds a direct child to the element.
public attributes Get the an attribute of the element.
public children Get the children of the element.
public data Get the data of the element.
public getElementByPath Get an element in the document by / separated path.
public level Get the level of the element.
public map Traverses the tree calling the $callback( $this, mixed $args=array()) function with each .
public name Get the name of the element.
public removeAttribute Removes an attribute from the element.
public removeChild
public setData Set the data of the element.
public toString Return a well-formed XML string based on SimpleXML element.
  • Defined in libraries/joomla/utilities/simplexml.php
  • Extends JObject

Importing

jimport( 'joomla.utilities.simplexml' );

See also

  • Joomla 11.1 JSimpleXMLElement source code on BitBucket
  • Joomla 11.1 Subpackage Utilities
  • Other versions of JSimpleXMLElement

SeeAlso:JSimpleXMLElement [Edit See Also]

User contributed notes

<CodeExamplesForm />