API17:JRegistry::getInstance
From Joomla! Documentation
JRegistry::getInstance
Description
Returns a reference to a global object, only creating it if it doesn't already exist.
public static function getInstance ($id)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $id |
- Returns
- Defined on line 165 of libraries/joomla/registry/registry.php
See also
JRegistry::getInstance source code on BitBucket
Class JRegistry
Subpackage Registry- Other versions of JRegistry::getInstance
User contributed notes
Code Examples