API17:JRegistry::getInstance
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JRegistry::getInstance
Description
Returns a reference to a global object, only creating it if it doesn't already exist.
Description:JRegistry::getInstance [Edit Descripton]
Synopsis
public static JRegistry::getInstance ($id)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $id |
Returns
Defined in
libraries/joomla/registry/registry.php (line 165)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JRegistry::getInstance
Examples
<CodeExamplesForm />
