Login   Register  
PHP Classes
elePHPant
Icontem

Storage: Store and retrieve variable values from files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-05-30 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 335 This week: 1All time: 6,303 This week: 1,504Up
Version License PHP version Categories  
storage 1.2BSD License4.0PHP 5, Files and Folders, Data types
Description Author  

This class can be used to store and retrieve variable values from files.

It can take variable values and store them in files with given names.

The class can also do the opposite, i.e. retrieve variable values from files.

The variables can be scalar, or objects or arrays, provided the class or a sub-class defines functions to serialize and unserialize the variable values.

Picture of Domenico Pontari
Name: Domenico Pontari <contact>
Classes: 3 packages by
Country: Italy Italy
Age: ???
All time rank: 191574 in Italy Italy
Week rank: 1119 Up47 in Italy Italy Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imagedata_example (1 file)
Plain text file storage_json.php Class json extension for storage class
Accessible without login Plain text file example.php Example how to use storage class
Plain text file storage.php Class base class

  Files folder image Files  /  data_example  
File Role Description
  Accessible without login Plain text file storedVar Data an example of data stored in JSON format

 Version Control Unique User Downloads Download Rankings  
 0%Total:335All time:6,303
 This week:1This week:1,504Up
 User Comments (1)