CLASS_BASE::getUi PHP Метод

getUi() публичный Метод

*============设置界面============ 返回字符串 界面类型
public getUi ( )
    function getUi()
    {
        if (BG_SWITCH_UI == 1) {
            //界面开关为开
            $str_ui = fn_getSafe(fn_get("ui"), "txt", "");
            if ($str_ui) {
                //查询串指定
                $_str_return = $str_ui;
            } else {
                /*if (fn_cookie("cookie_ui")) { //cookie 指定
                      $_str_return = fn_cookie("cookie_ui");
                  } else { //系统识别*/
                $_str_return = BG_DEFAULT_UI;
                //客户端是 pc
                //}
            }
        } else {
            //界面开关为关
            $_str_return = BG_DEFAULT_UI;
            //默认界面
        }
        $this->config["ui"] = $_str_return;
    }