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

class DoAddPropinsi extends JsonResponse {

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