Login   Register  
PHP Classes

Data Registry: Register and retrieve data easily anywhere in PHP

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-09-13 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 414 All time: 5,818 This week: 1,398Up
Version License PHP version Categories  
data-registry 1.0.12MIT/X Consortium License5.2PHP 5, User Management
Description Author  

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.

Save data in SESSION or FILES (caching, user specific files, or common files for all users)

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

Look at "Related links" to access an online demo: http://www.4amics.com/libraries/data_registry/Data_Registry_Examples.php

Picture of Xavier Pérez
Name: Xavier Pérez <contact>
Classes: 6 packages by
Country: Spain Spain
Age: ???
All time rank: 144129 in Spain Spain
Week rank: 461 Up13 in Spain Spain Up

  • Data_Registry_Basic_Persistence_Example_5.jpg
  • Data_Registry_Basic_Persistence_Example_6.jpg
  • Data_Registry_Basic_Persistence_Example_4.jpg
  • Data_Registry_Basic_Persistence_Example_3.jpg
  • Data_Registry_Basic_Persistence_Example_2.jpg
  • Data_Registry_Basic_Persistence_Example_1.jpg
  Files folder image Files  
File Role Description
Accessible without login Plain text file Data_Registry.php Class DataRegistry class
Accessible without login Plain text file Data_Registry.txt Doc. Manual
Plain text file Data_Registry_Examples.php Example Interactive examples

 Version Control Unique User Downloads Download Rankings  
 0%Total:414All time:5,818
 This week:0This week:1,398Up