「ver4/関数リファレンス/contentsMenu」を編集中
提供: baserCMS公式ガイド
警告: ログインしていません。
編集すると、IPアドレスがこのページの編集履歴に記録されます。この編集を取り消せます。
下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 | 編集中の文章 | ||
行1: | 行1: | ||
+ | [このコンテンツは内容調整中です] | ||
## 説明 | ## 説明 | ||
行6: | 行7: | ||
## 使い方 | ## 使い方 | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
− | <?php $this->BcBaser->contentsMenu($id , $level , $currentId); ?> | + | <?php $this->BcBaser->contentsMenu( [$id] , [$level] , [$currentId] ); ?> |
</syntaxhighlight> | </syntaxhighlight> | ||
行55: | 行56: | ||
####コード | ####コード | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
− | <?php $this->BcBaser->contentsMenu(6, 1, 12); ?> | + | <?php $this->BcBaser->contentsMenu( 6, 1, 12); ?> |
</syntaxhighlight> | </syntaxhighlight> | ||
行66: | 行67: | ||
</ul> | </ul> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
− | |||
− | |||
##類似の関数 | ##類似の関数 | ||
- [getContentsMenu](/ver4/関数リファレンス/getContentsMenu) - コンテンツメニューを取得する | - [getContentsMenu](/ver4/関数リファレンス/getContentsMenu) - コンテンツメニューを取得する |