「ver4/関数リファレンス/blogName」の版間の差分
提供: baserCMS公式ガイド
行22: | 行22: | ||
####出力 | ####出力 | ||
+ | ブログアカウントが "news" の場合 | ||
<syntaxhighlight lang="html4strict"> | <syntaxhighlight lang="html4strict"> | ||
news | news |
2018年6月7日 (木) 14:16時点における版
説明
ブログアカウント名を出力する
使い方
$this->Blog->blogName();
パラメーター
なし
戻り値
- (void)
用例
基本
コード
<?php $this->Blog->blogName(); ?>
出力
ブログアカウントが "news" の場合
news