Markdown::globalDataCacheRead PHP Méthode

globalDataCacheRead() private méthode

从文件缓存中读取数据
private globalDataCacheRead ( )
    private function globalDataCacheRead()
    {
        $blogs = $this->gbReadCache(GB_BLOG_CACHE);
        $tags = $this->gbReadCache(GB_TAG_CACHE);
        $categorys = $this->gbReadCache(GB_CATEGORY_CACHE);
        $yearMonths = $this->gbReadCache(GB_ARCHIVE_CACHE);
        if ($blogs === false || $tags === false || $categorys === false || $yearMonths === false) {
            return false;
        } else {
            $this->blogs = $blogs;
            $this->tags = $tags;
            $this->categorys = $categorys;
            $this->yearMonths = $yearMonths;
        }
        return true;
    }