Login   Register  
PHP Classes
elePHPant
Icontem

File: serialize-object-by-manager.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of nghia nguyen  >  Recursive reference serialize  >  serialize-object-by-manager.php  >  Download  
File: serialize-object-by-manager.php
Role: Example script
Content type: text/plain
Description: serialize object by manager helper
Class: Recursive reference serialize
Serialize objects with cyclic references
Author: By
Last change: clean-up code
Date: 2009-04-20 03:10
Size: 244 bytes
 

Contents

Class file image Download
<?php
require_once 'SerializeManager.php';
if(!isset(
$serialized_by_manager_data)){
    
$serialized_by_manager_data get_object_vars($this);
}
$serialized SerializeManager::instance()->serializeVars($this$serialized_by_manager_data);
?>