コード例 #1
0
 /**
  * ブログの公開状態の取得
  *
  * @param int $blogContentId
  * @return int
  * @access	public
  */
 public function getMobilePostBlogStatus($blogContentId = null)
 {
     /* 除外処理 */
     if (empty($blogContentId)) {
         return false;
     }
     $blogContent = new BlogContent();
     $blogData = $blogContent->findById($blogContentId);
     if (!empty($blogData)) {
         return $blogData['BlogContent']['status'];
     } else {
         return false;
     }
 }