AJAX_TOKEN::__construct PHP Method

__construct() public method

public __construct ( )
    function __construct()
    {
        //构造函数
        $this->adminLogged = $GLOBALS["adminLogged"];
        //获取已登录信息
        $this->obj_ajax = new CLASS_AJAX();
        /*if ($this->adminLogged["alert"] != "y020102") { //未登录,抛出错误信息
              $this->obj_ajax->halt_alert($this->adminLogged["alert"]);
          }*/
    }