「ver4/関数リファレンス/getSiteName」の版間の差分
提供: baserCMS公式ガイド
(同じ利用者による、間の1版が非表示) | |||
行10: | 行10: | ||
<?php $this->BcBaser->getSiteName(); ?> | <?php $this->BcBaser->getSiteName(); ?> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
− | |||
− | |||
## 戻り値 | ## 戻り値 | ||
行28: | 行25: | ||
####出力 | ####出力 | ||
− | + | <syntaxhighlight lang="html5"> | |
− | + | baserCMS inc. | |
− | + | </syntaxhighlight> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
##類似の関数 | ##類似の関数 | ||
− | + | - [siteName](/ver4/関数リファレンス/siteName) - WEBサイト名を出力する | |
− | + | ||
− | [ | + |
2019年1月14日 (月) 23:47時点における最新版
[このコンテンツは内容調整中です]
説明
管理画面のサイト基本設定のWEBサイト名を取得する。
管理画面 > システム設定メニュー > サイト基本設定 > WEBサイト名 から変更できます。
使い方
<?php $this->BcBaser->getSiteName(); ?>
戻り値
- (string)
- サイト基本設定のWEBサイト名
用例
基本
WEBサイト名を取得し、echoで出力する。
コード
<?php echo $this->BcBaser->getSiteName(); ?>
出力
baserCMS inc.
類似の関数
- siteName - WEBサイト名を出力する