JRegistryFormat
Description
Abstract Format for JRegistry
Located in /joomla/registry/format.php (line 27)
JObject (Subpackage Base) JRegistryFormat (Subpackage Registry)
Direct descendents
Class | Description |
---|---|
JRegistryFormatPHP | PHP class format handler for JRegistry |
JRegistryFormatXML | XML Format for JRegistry |
JRegistryFormatINI | INI format handler for JRegistry |
Method Summary
Methods
getInstance (line 38)
Returns a reference to a Format object, only creating it if it doesn't already exist.
object Registry
&getInstance
(string $format)
- string $format: The format to load
objectToString (line 76)
Converts an object into a formatted string
string
objectToString
( &$object, object $object)
- object $object: Data Source Object
- &$object
Redefined in descendants as:
- JRegistryFormatPHP::objectToString() : Converts an object into a php class string.
- JRegistryFormatXML::objectToString() : 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.
- JRegistryFormatINI::objectToString() : Converts an object into an INI formatted string - Unfortunately, there is no way to have ini values nested further than two levels deep. Therefore we will only go through the first two levels of the object.
stringToObject (line 63)
Converts an XML formatted string into an object
object Data
stringToObject
(string $data, [ $namespace = ''])
- string $data: Formatted string
- $namespace
Redefined in descendants as:
- JRegistryFormatPHP::stringToObject() : Placeholder method
- JRegistryFormatXML::stringToObject() : Converts an XML formatted string into an object
- JRegistryFormatINI::stringToObject() : Parse an .ini string, based on phpDocumentor phpDocumentor_parse_ini_file function
Inherited Methods
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getPublicProperties()
JObject::set()
JObject::toString()
Documentation generated on Mon, 05 Mar 2007 20:59:36 +0000 by phpDocumentor 1.3.1