<?php
 class ImageGalleryModel extends Model
 {
     protected $data;
     protected $tableName = "image_gallery";
     protected $dbh;

     public function __construct($data = "")
     {
         global $dbh;
         $this->data = $data;
         $this->dbh = $dbh;
     }
 }
?>