Data Registry

Package:
Data Registry
Summary:
Register and retrieve data easily anywhere in PHP
Groups:
Data structures, PHP 5, User Management
Author:
Xavier Pérez
Description:
PHP singleton class to store and retrieve data anywhere in your PHP code.

Save any kind of data (string, numeric, array, record, object, files) in namespaces, with or without persistence, and allows to retrieve it anywhere.

Use it to populate data across all your application, and across all user session with optional persistence.

Similar in concep of Zend_registry, but more usefull, and more methods to store any kind of data.

Methods used:
init / set / setkey / get /getkey /getflash /getflaskey / test / testkey / clear / clearkey / setnamespace / getnamespace / getclass / setpersistence / backupnamespace / restorenamespace


Powered by Gewgley