Quick Search:

View

Revision:

Diff

Diff from 1338 to:

Annotations

Annotate by Age | Author | Mixed | None
/fisheye/browse/osCommerce/branches/frank/Alpha4_TinyMCE/admin/includes/classes/object_info.php

Annotated File View

hpdl
1
1 <?php
2 /*
mattice
151
3   $Id: object_info.php 1338 2007-03-05 21:51:26Z hpdl $
hpdl
1
4
5   osCommerce, Open Source E-Commerce Solutions
6   http://www.oscommerce.com
7
hpdl
1338
8   Copyright (c) 2006 osCommerce
hpdl
1
9
10   Released under the GNU General Public License
11 */
12
hpdl
1338
13   class osC_ObjectInfo {
14     function osC_ObjectInfo($array) {
15       foreach ($array as $key => $value) {
hpdl
1
16         $this->$key = $value;
17       }
18     }
hpdl
1338
19
20     function get($value) {
21       return $this->$value;
22     }
23
24     function set($key, $value) {
25       $this->$key = $value;
26     }
hpdl
1
27   }
28 ?>