CONTROL_REG::__construct PHP Method

__construct() public method

public __construct ( )
    function __construct()
    {
        //构造函数
        $this->obj_base = $GLOBALS["obj_base"];
        //获取界面类型
        $this->config = $this->obj_base->config;
        $this->mdl_user = new MODEL_USER();
        //设置管理员模型
        $this->mdl_verify = new MODEL_VERIFY();
        //设置管理员模型
        $_arr_cfg["user"] = true;
        $this->obj_tpl = new CLASS_TPL(BG_PATH_TPL . "user/" . BG_SITE_TPL, $_arr_cfg);
        //初始化视图对象
    }