API16:JRegistry/ clone
From Joomla! Documentation
Description
Magic function to clone the registry object.
Template:Description:JRegistry/ clone
Syntax
__clone()
Defined in
libraries/joomla/registry/registry.php
Importing
jimport( 'joomla.registry.registry' );
Source Body
public function __clone()
{
$this->_registry = unserialize(serialize($this->_registry));
}
[Edit See Also] Template:SeeAlso:JRegistry/ clone
Examples
<CodeExamplesForm />