<?php
 class SliderModel extends Model
 {
     protected $data;
     protected $tableName = "slider";
     protected $dbh;

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