Class JRegistryFormat

Description

Abstract Format for JRegistry

  • abstract:
  • since: 11.1

Located in /libraries/joomla/registry/format.php (line 19)


	
			
Direct descendents
Class Description
JRegistryFormatINI INI format handler for JRegistry.
JRegistryFormatXML XML format handler for JRegistry.
JRegistryFormatPHP PHP class format handler for JRegistry
JRegistryFormatJSON JSON format handler for JRegistry.
Variable Summary
static array $instances
Method Summary
static JRegistryFormat getInstance (string $type)
string objectToString (object $object, [array $options = null])
object Data stringToObject (string $data, [array $options = null])
Variables
static array $instances = array() (line 25)
  • var: JRegistryFormat instances container.
  • since: 11.3
  • access: protected
Methods
static method getInstance (line 38)

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

  • return: Registry format handler
  • throws: JException
  • since: 11.1
  • access: public
static JRegistryFormat getInstance (string $type)
  • string $type: The format to load
objectToString (line 76)

Converts an object into a formatted string.

  • return: Formatted string.
  • abstract:
  • since: 11.1
  • access: public
string objectToString (object $object, [array $options = null])
  • object $object: Data Source Object.
  • array $options: An array of options for the formatter.

Redefined in descendants as:
stringToObject (line 88)

Converts a formatted string into an object.

  • return: Object
  • abstract:
  • since: 11.1
  • access: public
object Data stringToObject (string $data, [array $options = null])
  • string $data: Formatted string
  • array $options: An array of options for the formatter.

Redefined in descendants as:

Documentation generated on Mon, 25 Jun 2012 13:54:58 -0500 by phpDocumentor 1.4.4