「ver4/関数リファレンス/getSiteName」の版間の差分
提供: baserCMS公式ガイド
行28: | 行28: | ||
####出力 | ####出力 | ||
− | + | <syntaxhighlight lang="html5"> | |
+ | baserCMS inc. | ||
+ | </syntaxhighlight> | ||
### 応用 | ### 応用 |
2018年11月21日 (水) 00:05時点における版
[このコンテンツは内容調整中です]
目次
説明
管理画面のサイト基本設定のWEBサイト名を取得する。
管理画面 > システム設定メニュー > サイト基本設定 > WEBサイト名 から変更できます。
使い方
<?php $this->BcBaser->getSiteName(); ?>
パラメータ
戻り値
- (string)
- サイト基本設定のWEBサイト名
用例
基本
WEBサイト名を取得し、echoで出力する。
コード
<?php echo $this->BcBaser->getSiteName(); ?>
出力
baserCMS inc.