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

class DoDeleteAgama extends jsonResponse {

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