/** * Получить типы блогов * * @return mixed */ public function GetBlogTypes() { $sCacheKey = 'adm_blog_types'; if (false === ($data = $this->Cache_Get($sCacheKey))) { $data = $this->oMapper->GetBlogTypes(); $this->Cache_Set($data, $sCacheKey, array('blog_update', 'blog_new'), 60 * 15); } return $data; }