Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

151
 
1338
 
1338
 
object_info.php
_> 11 <?php
  22 /*
<> 3 -  $Id: object_info.php 151 2005-08-02 14:33:25Z mattice $
   3+  $Id: object_info.php 1338 2007-03-05 21:51:26Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
  77 
<> 8 -  Copyright (c) 2004 osCommerce
   8+  Copyright (c) 2006 osCommerce
99 
  1010   Released under the GNU General Public License
  1111 */
  1212 
<> 13 -  class objectInfo {
  14 -    function objectInfo($object_array) {
  15 -      foreach ($object_array as $key => $value) {
   13+  class osC_ObjectInfo {
   14+    function osC_ObjectInfo($array) {
   15+      foreach ($array as $key => $value) {
1616         $this->$key = $value;
  1717       }
  1818     }
<>  19+
   20+    function get($value) {
   21+      return $this->$value;
   22+    }
   23+
   24+    function set($key, $value) {
   25+      $this->$key = $value;
   26+    }
<_ 1927   }
  2028 ?>