/** * ブログコンテンツ名を取得する * * @var int $blogContentId * @access public */ public function getBlogContentTitle($blogContentId) { $blogCategoryModel = new BlogCategory(); $category = $blogCategoryModel->findById($blogContentId); if (!empty($category)) { return $category['BlogCategory']['title']; } else { return ''; } }