function _trigger_fatal_error($error_msg, $tpl_file = null, $tpl_line = null,
	$file = null, $line = null, $error_type = E_USER_ERROR)
	{
		if(isset($file) && isset($line)) {
			$info = ' ('.basename($file).", line $line)";
		} else {
			$info = '';
		}
		if (isset($tpl_line) && isset($tpl_file)) {
			$this->trigger_error('[in ' . $tpl_file . ' line ' . $tpl_line . "]: $error_msg$info", $error_type);
		} else {
			$this->trigger_error($error_msg . $info, $error_type);
		}
	}
function _trigger_fatal_error($error_msg, $tpl_file = null, $tpl_line = null,
	$file = null, $line = null, $error_type = E_USER_ERROR)
	{
		if(isset($file) && isset($line)) {
			$info = ' ('.basename($file).", line $line)";
		} else {
			$info = '';
		}
		if (isset($tpl_line) && isset($tpl_file)) {
			$this->trigger_error('[in ' . $tpl_file . ' line ' . $tpl_line . "]: $error_msg$info", $error_type);
		} else {
			$this->trigger_error($error_msg . $info, $error_type);
		}
	}
function _trigger_fatal_error ( $ error_msg , $ tpl_file = null , $ tpl_line = null , $ file = null , $ line = null , $ error_type = E_USER_ERROR ) { if ( isset ( $ file ) && isset ( $ line ) ) { $ info = ' (' . basename ( $ file ) . ", line $line)" ; } else { $ info = '' ; } if ( isset ( $ tpl_line ) && isset ( $ tpl_file ) ) { $ this -> trigger_error ( '[in ' . $ tpl_file . ' line ' . $ tpl_line . "]: $error_msg$info" , $ error_type ) ; } else { $ this -> trigger_error ( $ error_msg . $ info , $ error_type ) ; } }
trigger Smarty plugin error

@param string $error_msg
@param string $tpl_file
@param integer $tpl_line
@param string $file
@param integer $line
@param integer $error_type
trigger Smarty plugin error