<?php
 class GalleryModel extends Model
 {
     protected $data;
     protected $tableName = "gallery";
     protected $dbh;

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