CLASS_AJAX::halt_re PHP Method

halt_re() public method

ajax 返回出错信息(仅代码) halt_re function.
public halt_re ( mixed $str_alert ) : void
$str_alert mixed
return void
    function halt_re($str_alert)
    {
        $arr_re = array("re" => $this->alert[$str_alert]);
        exit(json_encode($arr_re));
        //输出错误信息
    }