「関数リファレンス/BcBaser getPageList」の版間の差分
提供: baserCMS公式ガイド
細 (Hanhunhun がページ「関数リファレンス/getPageList」を「関数リファレンス/BcBaser getPageList」に移動しました) |
|||
行4: | 行4: | ||
## 使い方 | ## 使い方 | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
− | $this-> | + | $this->BcBaser->getPageList( $pageCategoryId, $recursive); |
</syntaxhighlight> | </syntaxhighlight> | ||
2015年6月23日 (火) 12:01時点における版
目次
説明
固定ページ機能で作成したページの一覧データを取得する。
使い方
$this->BcBaser->getPageList( $pageCategoryId, $recursive);
パラメータ
- (int) $pageCategoryId
- 固定ページカテゴリID
- 初期値:−
- (int) $recursive
- 初期値:null
戻り値
(array)
用例
基本
コード
<?php $pages = $this->BcBaser->getPageList($categoryId); ?>