1.8. Zend::registry()

Returns an object in the registry or lists all objects in the registry.

<?php
	
registry($name=null)

?>

If the $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.

If $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 $name, a Zend_Exception will be thrown.

To quickly determine if an object is present in the registry, use Zend::isRegistered().