JRegistryFormat
Description
Abstract Format for JRegistry
Located in /joomla/registry/format.php (line 27)
JObject (Subpackage Base)
![]()
JRegistryFormat (Subpackage Registry)
Direct descendents
| Class | Description |
|---|---|
JRegistryFormatINI
|
INI format handler for JRegistry |
JRegistryFormatPHP
|
PHP class format handler for JRegistry |
JRegistryFormatXML
|
XML Format for JRegistry |
Method Summary
Variables
Methods
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
Converts an object into a formatted string
string
objectToString
( &$object, object $object)
- object $object: Data Source Object
- &$object
Redefined in descendants as:
- 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.
- 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.
Converts an XML formatted string into an object
object Data
stringToObject
(string $data, [ $namespace = ''])
- string $data: Formatted string
- $namespace
Redefined in descendants as:
- JRegistryFormatINI::stringToObject() : Parse an .ini string, based on phpDocumentor phpDocumentor_parse_ini_file function
- JRegistryFormatPHP::stringToObject() : Placeholder method
- JRegistryFormatXML::stringToObject() : Converts an XML formatted string into an object
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




JRegistryFormat (Subpackage Registry)
static