コード例 #1
0
 public function getImages($type, $id)
 {
     $query = "select * from image_info where image_type='" . $type . "' and id = " . $id;
     $records = $this->db->query($query);
     return Image_info::instantiate($records);
 }