「ver4/関数リファレンス/siteName」の版間の差分
提供: baserCMS公式ガイド
Katokaisya (トーク | 投稿記録) |
|||
行5: | 行5: | ||
## 使い方 | ## 使い方 | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
− | $this->BcBaser->siteName(); | + | <?php $this->BcBaser->siteName(); ?> |
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
## 用例 | ## 用例 | ||
### 基本 | ### 基本 | ||
+ | WEBサイト名を出力する。 | ||
####コード | ####コード | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
行23: | 行18: | ||
####出力 | ####出力 | ||
+ | baserCMS inc. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
##類似の関数 | ##類似の関数 | ||
− | + | - [getSiteName](/ver4/関数リファレンス/getSiteName) - WEBサイト名を取得する | |
− | + | ||
− | [ | + |
2019年1月14日 (月) 23:50時点における版
説明
管理画面のサイト基本設定のWEBサイト名を出力する
使い方
<?php $this->BcBaser->siteName(); ?>
用例
基本
WEBサイト名を出力する。
コード
<?php $this->BcBaser->siteName(); ?>
出力
baserCMS inc.
類似の関数
- getSiteName - WEBサイト名を取得する