<?php
/*

 osCommerce, Open Source E-Commerce Solutions 
http://www.oscommerce.com 

Copyright (c) 2003 osCommerce 

 

Freeway eCommerce
http://www.openfreeway.org
Copyright (c) 2007 ZacWare

Released under the GNU General Public License
*/

// Check to ensure this file is included in Freeway!
defined('_FEXEC') or die();

  // class objectInfo {

// // class constructor
    // function __construct($object_array) {
      // reset($object_array);
      // while (list($key, $value) = each($object_array)) {
        // $this->$key = tep_db_prepare_input($value);
      // }
    // }
  // }
  
  
    class objectInfo {

// class constructor
    function __construct($object_array) {
		  $this->objectInfo($object_array);
		}

    function objectInfo($object_array) {
      foreach($object_array as $key => $value) {
        $this->$key = tep_db_prepare_input($value);
      }
    }
  }
?>
