Class JRegistryFormatXML

Description

XML Format for JRegistry

Located in /registry/format/xml.php (line 22)

JObject
   |
   --JRegistryFormat
      |
      --JRegistryFormatXML
Method Summary
 string objectToString (object &$object)
 object Data stringToObject (string $data, [mixed $namespace = ''])
 string _buildXMLstringLevel (object $object, int $depth)
Methods
objectToString (line 44)

Converts an object into an XML formatted string - If more than two levels of nested groups are necessary, since INI is not useful, XML or another format should be used.

  • return: XML Formatted String
  • access: public
string objectToString (object &$object)
  • object $object: Data Source Object

Redefinition of:
JRegistryFormat::objectToString()
Converts an object into an formatted string
stringToObject (line 31)

Converts an XML formatted string into an object

  • return: Object
  • access: public
object Data stringToObject (string $data, [mixed $namespace = ''])
  • string $data: XML Formatted String

Redefinition of:
JRegistryFormat::stringToObject()
Converts an XML formatted string into an object
_buildXMLstringLevel (line 68)

Method to build a level of the XML string -- called recursively

  • return: XML string
  • access: private
string _buildXMLstringLevel (object $object, int $depth)
  • object $object: Object that represents a node of the xml document
  • int $depth: The depth in the XML tree of the $object node

Inherited Methods

Inherited From JRegistryFormat

 JRegistryFormat::getInstance()
 JRegistryFormat::objectToString()
 JRegistryFormat::stringToObject()

Inherited From JObject

 JObject::__construct()
 JObject::JObject()
 JObject::get()
 JObject::set()
 JObject::toString()
 JObject::__destruct()

Documentation generated on Sat, 4 Feb 2006 14:27:42 +0100 by phpDocumentor 1.3.0RC4