A registry is one of the most useful things in any MVC program – it allows you to assign variables, arrays and objects in a similar way that the irksome global variable used to. Surprisingly (and annoyingly) CodeIgniter doesn’t have a registry. A good description of a registry is on the Zend website:
A registry is a container for storing objects and values in the application space. By storing the value in a registry, the same object is always available throughout your application. This mechanism is an alternative to using global storage.



