JRegistry/ construct
From Joomla! Documentation
< API16:JRegistry
The "API16" 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.
Description[edit]
Constructor
Syntax[edit]
__construct($namespace= '_default')
Parameter Name | Default Value | Description |
---|---|---|
$namespace | '_default' | Default registry namespace |
Returns[edit]
void
Defined in[edit]
libraries/joomla/registry/registry.php
Importing[edit]
jimport( 'joomla.registry.registry' );
Source Body[edit]
public function __construct($namespace = '_default')
{
$this->_defaultNameSpace = $namespace;
$this->makeNameSpace($namespace);
}
Examples[edit]
Code Examples[edit]