個人用ツール

「ver4/関数リファレンス/getCategories」の版間の差分

提供: baserCMS公式ガイド

移動: 案内, 検索
(ページの作成:「Category:関数リファレンスver4」)
 
(BlogHelper->getCategoriesの説明を追加)
 
行1: 行1:
 +
## 説明
 +
ブログのカテゴリ一覧を取得する。
 +
 +
## 使い方
 +
<syntaxhighlight lang="php">
 +
$categories = $this->Blog->getCategories([$options]);
 +
</syntaxhighlight>
 +
 +
## パラメータ
 +
(array) $options
 +
: オプション
 +
: 初期値 : array()
 +
:
 +
* - `blogContentId` : ブログコンテンツID(初期値 : null)
 +
 +
## 戻り値
 +
(array)
 +
: ブログのカテゴリ一覧
 +
 +
##類似の関数
 +
[getCategoryList](/ver4/関数リファレンス/getCategoryList)
 +
 
[[Category:関数リファレンスver4]]
 
[[Category:関数リファレンスver4]]

2018年10月29日 (月) 10:45時点における最新版

説明

ブログのカテゴリ一覧を取得する。

使い方

$categories = $this->Blog->getCategories([$options]);

パラメータ

(array) $options
オプション
初期値 : array()
  • - blogContentId : ブログコンテンツID(初期値 : null)

戻り値

(array)
ブログのカテゴリ一覧

類似の関数

getCategoryList