CLASS_API::__construct PHP Метод

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

配置
public __construct ( )
    function __construct()
    {
        //构造函数
        $this->obj_base = $GLOBALS["obj_base"];
        //获取界面类型
        $this->config = $this->obj_base->config;
        $this->log = (include_once BG_PATH_LANG . $this->config["lang"] . "/log.php");
        //载入日志内容
        $this->type = (include_once BG_PATH_LANG . $this->config["lang"] . "/type.php");
        //载入类型文件
        $this->opt = (include_once BG_PATH_LANG . $this->config["lang"] . "/opt.php");
        $this->mail = (include_once BG_PATH_LANG . $this->config["lang"] . "/mail.php");
        $this->status = (include_once BG_PATH_LANG . $this->config["lang"] . "/status.php");
        $this->arr_return = array("prd_sso_ver" => PRD_SSO_VER, "prd_sso_pub" => PRD_SSO_PUB);
    }