「ver4/関数リファレンス/sitemap」の版間の差分
提供: baserCMS公式ガイド
Katokaisya (トーク | 投稿記録) (ページの作成:「[このコンテンツは内容調整中です] ## 説明 サイトマップを出力する ## 使い方 <syntaxhighlight lang="php"> $this->BcBaser->sitemap($siteId)...」) |
Katokaisya (トーク | 投稿記録) |
||
行4: | 行4: | ||
サイトマップを出力する | サイトマップを出力する | ||
+ | ログインしていない場合はキャッシュする | ||
## 使い方 | ## 使い方 | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
− | $this->BcBaser->sitemap($siteId) | + | $this->BcBaser->sitemap( $siteId ) |
</syntaxhighlight> | </syntaxhighlight> | ||
2016年11月4日 (金) 19:34時点における版
[このコンテンツは内容調整中です]
目次
説明
サイトマップを出力する
ログインしていない場合はキャッシュする
使い方
$this->BcBaser->sitemap( $siteId )
パラメータ
- (int) $id
- $siteId サイトID
戻り値
用例
基本
コード
<?php $this->BcBaser->sitemap($siteId) ?>