PHP Classes
Icontem

Class: Recursive reference serialize


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of nghia nguyen  >  Recursive reference serialize  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Recursive reference serialize Support forum
Base name: recursive-serialize
Description: Serialize objects with cyclic references
Version: 1.0
Required PHP version: 5.1
License: The PHP License
All time users: 181 users
All time rank: 4826
Week users: 2 users
Week rank: 2963
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of nghia nguyen
Name: nghia nguyen <e-mail contact>
Published packages: 1 Browse this author's classes Browse this author's classes
Country: Viet Nam Viet Nam - PHP jobs in Viet Nam
Home page: http://nghianghesi.wordpress.com/
Age: 26
All time rank: 2539
Week rank: 1692

Innovation Award

PHP Programming Innovation award nominee
May 2009
Number 3
PHP serialize function can generate a string that may represent complex data structures, including those that may contain object references.

However, it cannot handle the situation of objects that reference each other in a cycle.

This class provides a practical workaround that can serialize and unserialize objects with cyclic references.

Manuel Lemos

Groups

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Data types Modeling and manipulating data types View top rated classes
Group folder image Language Constructs to assist in the language control View top rated classes

Detailed description

This class can be used to serialize objects with cyclic references.

It can take an object value and generate a string that represents the information contained in the object.

The class can also do the opposite, i.e. process a string with an object representation and recreate the original object value.

The class takes care of cyclic object references, i.e. objects that reference other objects and those objects contain references back to the original objects.

It uses object keys to represent object values and detect cyclic references.

User ratings

There are not enough user ratings to display for this class.

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file post-serialize-by-manager.php Example post serialize by manager helper
Plain text file serialize-example.php Example serialize example
Plain text file serialize-object-by-manager.php Example serialize object by manager helper
Plain text file SerializeManager.php Class Serialize Manager
Plain text file TSClass1.php Class TSClass1 implement demo
Plain text file unserialize-object-by-manager.php Example unserialize object by manager helper
Download all files: recursive-serialize.tar.gz recursive-serialize.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products