関数リファレンス/BcBaser getKeywords
提供: baserCMS公式ガイド
目次
説明
キーワードを取得します。
コンテンツテンプレート側で何も指定がない場合は、管理画面のサイト基本設定で指定されたサイト基本キーワードが取得できます。
使い方
$this->BcBaser->getKeywords();
用例
基本
コード
<?php $this->BcBaser->setKeywords(); ?>
出力
'サイト基本キーワード'
応用
コード
<?php $this->BcBaser->setKeywords('キーワードテキスト'); ?>
出力
キーワードテキスト