<?php

class AppGedungPopUpAset extends Database {

   protected $mSqlFile= 'module/gedung/business/popupAset.sql.php';
   
   function __construct($connectionNumber=0) {
      parent::__construct($connectionNumber);
      //$this->mrDbEngine->debug = 1;
   }
   
   #combo
   function GetCount($key) {
      $result = $this->Open($this->mSqlQueries['get_count'], array("%%$key%%"));
      return $result[0]['total'];
   }
   
   function GetData($key, $limit, $offset) {
      $result = $this->Open($this->mSqlQueries['get_aset'], array("%%$key%%", $limit, $offset));
      return $result;
   }
}
?>