Example #1
0
 function do_create_object($array)
 {
     $obj = new Item();
     $obj->set_fields($array);
     return $obj;
 }