Class JXMLElement

Description

Wrapper class for php SimpleXMLElement.

  • deprecated: 13.3 (Platform) & 4.0 (CMS) - Use SimpleXMLElement instead.
  • since: 11.1

Located in /libraries/legacy/utilities/xmlelement.php (line 22)

SimpleXMLElement
   |
   --JXMLElement
Method Summary
 string asFormattedXML ([boolean $compressed = false], [string $indent = "\t"], [integer $level = 0])
 string name ()
Methods
asFormattedXML (line 50)

Return a well-formed XML string based on SimpleXML element

  • deprecated: 13.3 Use SimpleXMLElement::asXML() instead.
  • since: 11.1
  • access: public
string asFormattedXML ([boolean $compressed = false], [string $indent = "\t"], [integer $level = 0])
  • boolean $compressed: Should we use indentation and newlines ?
  • string $indent: Indention character.
  • integer $level: The level within the document which informs the indentation.
name (line 32)

Get the name of the element.

  • deprecated: 13.3 Use SimpleXMLElement::getName() instead.
  • since: 11.1
  • access: public
string name ()

Inherited Methods

Inherited From SimpleXMLElement (Internal Class)

 constructor __construct ( $data, [$options = ], [$data_is_url = ], [$ns = ], [$is_prefix = ] )
 addAttribute ( $name, [$value = ], [$ns = ] )
 addChild ( $name, [$value = ], [$ns = ] )
 asXML ( [$filename = ] )
 attributes ( [$ns = ], [$is_prefix = ] )
 children ( [$ns = ], [$is_prefix = ] )
 count ( )
 getDocNamespaces ( [$recursve = ], [$from_root = ] )
 getName ( )
 getNamespaces ( [$recursve = ] )
 registerXPathNamespace ( $prefix, $ns )
 saveXML ( [$filename = ] )
 xpath ( $path )
 __toString ( )

Documentation generated on Tue, 19 Nov 2013 15:18:38 +0100 by phpDocumentor 1.4.3