static function clear() { $registry =& Registry::_getRegistry(); foreach (array_keys($registry) as $key) { unset($registry[$key]); } }