CONTROL_HELP::__construct PHP Метод

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

public __construct ( )
    function __construct()
    {
        //构造函数
        $this->obj_base = $GLOBALS["obj_base"];
        $this->config = $this->obj_base->config;
        $this->obj_tpl = new CLASS_TPL(BG_PATH_TPLSYS . "help/" . BG_DEFAULT_UI);
        //初始化视图对象
        if (file_exists(BG_PATH_LANG . $this->config["lang"] . "/help/config.php")) {
            $this->helpConfig = (include_once BG_PATH_LANG . $this->config["lang"] . "/help/config.php");
        } else {
            $this->helpConfig = array();
        }
    }