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

class DoUpdateKdpPengembangan extends JsonResponse {

   function TemplateModule()
   {
   }
   
   function ProcessRequest()
   {
      $Obj = new ProcessKdpPengembangan();
      if (isset($_GET['kdpId']))
         $urlRedirect = $Obj->Update();
      else $urlRedirect = $Obj->Add();
      
		return array( 'exec' => 'GtfwAjax.replaceContentWithUrl("subcontent-element","'.$urlRedirect.'&ascomponent=1")');  
   }

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