API15

JRegistry

From Joomla! Documentation

Revision as of 17:24, 22 March 2010 by Doxiki (talk | contribs) (New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JRegistry}} ===Defined in=== l...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The "API15" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

[Edit Descripton] Template:Description:JRegistry

Defined in[edit]

libraries/joomla/registry/registry.php

Methods[edit]

Method name Description
__construct Constructor
makeNameSpace Create a namespace
getNameSpaces Get the list of namespaces
getValue Get a registry value
setValue Set a registry value
loadArray Load a associative array of values into the default namespace
loadObject Load the public variables of the object into the default namespace.
loadFile Load the contents of a file into the registry
loadXML Load an XML string into the registry into the given namespace [or default if a namespace is not given]
loadINI Load an INI string into the registry into the given namespace [or default if a namespace is not given]
merge Merge a JRegistry object into this one
toString Get a namespace in a given string format
toArray Transforms a namespace to an array
toObject Transforms a namespace to an object
__clone
getInstance Returns a reference to a global JRegistry object, only creating it if it doesn't already exist.

Importing[edit]

jimport( 'joomla.registry.registry' );

[Edit See Also] Template:SeeAlso:JRegistry

Examples[edit]

<CodeExamplesForm />