english/administrator/components/com_aicontactsafe/controller.php
// function to discard all changes and return to the section defined in return_task
function to discard all changes and return to the section defined in return_task
function to discard all changes and return to the section defined in return_task
function cancel() {
		$model = &$this->getModel( $this->_sTaskModel, '', $this->_parameters );
		$model->resetFormFields();
		$link = $model->getReturnLink();
		$this->setRedirect($link);
	}
function cancel ( ) { $ model = & $ this -> getModel ( $ this -> _sTaskModel , '' , $ this -> _parameters ) ; $ model -> resetFormFields ( ) ; $ link = $ model -> getReturnLink ( ) ; $ this -> setRedirect ( $ link ) ; }
function to discard all changes and return to the section defined in return_task
function to discard all changes and return to the section defined in return_task