Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Joomla-Framework

License

Content on this site is copyright © 2005 - 2008 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5. Some parts of this website may be subject to other licenses.

Abstract Class JRegistryFormat

Description

Abstract Format for JRegistry

Located in /joomla/registry/format.php (line 27)

Class JObject   (Subpackage Base)

Abstract class JRegistryFormat   (Subpackage Registry)
Direct descendents
Class Description
ClassJRegistryFormatINI INI format handler for JRegistry
ClassJRegistryFormatPHP PHP class format handler for JRegistry
ClassJRegistryFormatXML XML Format for JRegistry
Method Summary
Static method static object Registry &getInstance (string $format)
Abstract method string objectToString ( &$object, object $object)
Abstract method object Data stringToObject (string $data, [ $namespace = ''])
Variables

Inherited Variables

Inherited from JObject

Variable JObject::$_errors
Methods
getInstance (line 38)

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

  • return: format handler
  • since: 1.5
object Registry &getInstance (string $format)
  • string $format: The format to load
objectToString (line 87)

Converts an object into a formatted string

  • return: Formatted string
  • since: 1.5
  • access: public
  • abstract:
string objectToString ( &$object, object $object)
  • object $object: Data Source Object
  • &$object

Redefined in descendants as:
stringToObject (line 74)

Converts an XML formatted string into an object

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

Redefined in descendants as:

Inherited Methods

Inherited From JObject

 JObject::JObject()
 JObject::__construct()
 JObject::get()
 JObject::getError()
 JObject::getErrors()
 JObject::getProperties()
 JObject::getPublicProperties()
 JObject::set()
 JObject::setError()
 JObject::setProperties()
 JObject::toString()

Documentation generated on Tue, 29 Jan 2008 18:46:04 +0000 by phpDocumentor 1.3.1