<?php
require_once GTFWConfiguration::GetValue( 'application', 'docroot').'module/gedung/business/Ruang.class.php';

class ViewComboLantai extends HtmlResponse
{
   function TemplateModule()
   {
      $this->SetTemplateBasedir(GTFWConfiguration::GetValue('application','docroot').'module/gedung/template');
      $this->SetTemplateFile('combo_lantai.html');
   }
   
   function ProcessRequest()
   {
   	$obj = new Ruang();
   	$gedung = $_GET['gedung'];
   	$lantai = $obj->GetComboLantai($gedung);
   	Messenger::Instance()->SendToComponent('combobox', 'Combobox', 'view', 'html', 'lantai', array('lantai', $lantai, $_GET['lantai'], '', ''), Messenger::CurrentRequest);
      return $return;
   }
   
	function ParseTemplate($data = NULL){}
}
?>
