public function GetTopArticle() { if ($this->cache->HasKey('top_post_array') == false) { return array(); } $articles_top_notorder_idarray = unserialize($this->cache->top_post_array); if (!is_array($articles_top_notorder_idarray)) { CountTopArticle(null, null); $articles_top_notorder_idarray = unserialize($this->cache->top_post_array); } $articles_top_notorder = $this->GetPostByArray($articles_top_notorder_idarray); return $articles_top_notorder; }