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

class DoAddStatusRumah extends JsonResponse {

	function TemplateModule() {
	}
	
	function ProcessRequest() {
		$Obj = new ProcessStatusRumah();
		$urlRedirect = $Obj->Add();
		//$this->RedirectTo($urlRedirect);
			return array('exec'=>'GtfwAjax.replaceContentWithUrl("subcontent-element","'.$urlRedirect.'&ascomponent=1")');
	 }
	function ParseTemplate($data = NULL) {	
	}
}
?>
