Abstract Class JRegistryFormat

Description

Abstract Format for JRegistry

  • abstract:
  • since: 11.1

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


	
			
Direct descendents
Class Description
 class JRegistryFormatINI INI format handler for JRegistry.
 class JRegistryFormatJSON JSON format handler for JRegistry.
 class JRegistryFormatPHP PHP class format handler for JRegistry
 class JRegistryFormatXML XML 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 = array()])
Variables
static array $instances = array() (line 25)
  • var: JRegistryFormat instances container.
  • since: 11.3
  • access: protected
Methods
static getInstance (line 38)

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

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

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 91)

Converts a formatted string into an object.

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

Redefined in descendants as:

Documentation generated on Tue, 19 Nov 2013 15:03:44 +0100 by phpDocumentor 1.4.3