「関数リファレンス/BcBaser getKeywords」の版間の差分
提供: baserCMS公式ガイド
細 (Hanhunhun がページ「関数リファレンス/getKeywords」を「関数リファレンス/BcBaser getKeywords」に移動しました) |
|
(相違点なし)
|
2015年5月11日 (月) 13:03時点における版
目次
説明
meta タグ用のキーワードを取得する。
コンテンツテンプレート側で何も指定がない場合は、管理画面のサイト基本設定で指定されたサイト基本キーワードが取得できます。
使い方
<?php $this->BcBaser->getKeywords(); ?>
戻り値
- (string)
- meta タグ用のキーワード
用例
基本
コード
<?php echo $this->BcBaser->getKeywords(); ?>
出力
baser,CMS,コンテンツマネジメントシステム,開発支援
応用
コード
出力
キーワードテキスト