「関数リファレンス/BcBaser getDescription」の版間の差分
提供: baserCMS公式ガイド
行9: | 行9: | ||
$this->BcBaser->getDescription(); | $this->BcBaser->getDescription(); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | ## 戻り値 | ||
+ | (string) | ||
+ | :ページ説明文 | ||
## 用例 | ## 用例 |
2014年11月7日 (金) 18:09時点における版
目次
説明
metaタグ用のページ説明文を取得する。
metaタグ用のページ説明文を文字列で返します。
コンテンツテンプレート側で何も指定がない場合は、管理画面のサイト基本設定で指定されたサイト基本説明文が取得できます。
使い方
$this->BcBaser->getDescription();
戻り値
(string)
- ページ説明文