24 lines
473 B
PHP
24 lines
473 B
PHP
|
|
<?php
|
||
|
|
/*
|
||
|
|
$Id: object_info.php,v 1.6 2003/06/20 16:23:08 hpdl Exp $
|
||
|
|
|
||
|
|
osCommerce, Open Source E-Commerce Solutions
|
||
|
|
http://www.oscommerce.com
|
||
|
|
|
||
|
|
Copyright (c) 2003 osCommerce
|
||
|
|
|
||
|
|
Released under the GNU General Public License
|
||
|
|
*/
|
||
|
|
|
||
|
|
class objectInfo {
|
||
|
|
|
||
|
|
// class constructor
|
||
|
|
function objectInfo($object_array) {
|
||
|
|
reset($object_array);
|
||
|
|
while (list($key, $value) = each($object_array)) {
|
||
|
|
$this->$key = tep_db_prepare_input($value);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
?>
|