Returns an object in the registry or lists all objects in the registry.
<?php registry($name=null) ?>
$name argument is
NULL, an array will be returned where the keys to the array
are the names of the objects in the registry and the values are the class names of those objects.
$name is a string, the object handle assigned to that name will be returned. If
an object does not exist in the registry with that
Zend_Exception will be thrown.
To quickly determine if an object is present in the registry, use Zend::isRegistered().