<?php
require_once GTFWConfiguration::GetValue( 'application', 'docroot') . 'module/gedung/response/ProcGedung.proc.class.php';

class DoUpdateGedung extends JsonResponse {

   function TemplateModule() {
   
   }
   
   function ProcessRequest() {
      #print_r($_POST); exit;
      $Obj = new ProcessGedung();
      $Obj->pageView = Dispatcher::Instance()->GetUrl('gedung', 'Gedung', 'view', 'html');
      $urlRedirect = $Obj->UpdateGedung();
      return array( 'exec' => 'GtfwAjax.replaceContentWithUrl("subcontent-element","'.htmlentities($urlRedirect).'&ascomponent=1")');
   }

   function ParseTemplate($data = NULL) {
   
   }
}
?>
