API16:JRegistry/ clone
From Joomla! Documentation
Description
Magic function to clone the registry object.
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));
}
Examples
Code Examples