Abstract Class JRegistryFormat

Description

Abstract Format for JRegistry

Located in /registry/format.php (line 25)

JObject
   |
   --JRegistryFormat
Direct descendents
Class Description
 class JRegistryFormatINI INI format handler for JRegistry
 class JRegistryFormatPHP PHP class format handler for JRegistry
 class JRegistryFormatXML XML Format for JRegistry
Method Summary
 object Registry &getInstance (string $format)
 string objectToString (object &$object)
 object Data stringToObject (string $data, [mixed $namespace = ''])
Methods
getInstance (line 35)

Returns a reference to a Format object, only creating it if it doesn't already exist.

  • return: format handler
  • access: public
object Registry &getInstance (string $format)
  • string $format: The format to load
objectToString (line 71)

Converts an object into an formatted string

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

Redefined in descendants as:
stringToObject (line 59)

Converts an XML formatted string into an object

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

Redefined in descendants as:

Inherited Methods

Inherited From JObject

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

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