「ver4/関数リファレンス/getSiteUrl」の版間の差分
提供: baserCMS公式ガイド
Katokaisya (トーク | 投稿記録) |
Katokaisya (トーク | 投稿記録) |
||
行7: | 行7: | ||
## 使い方 | ## 使い方 | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
− | $this->BcBaser->getSiteUrl( | + | $this->BcBaser->getSiteUrl( $ssl ); |
</syntaxhighlight> | </syntaxhighlight> | ||
## パラメータ | ## パラメータ | ||
− | boolean ssl | + | (boolean) $ssl |
+ | :初期値 : false | ||
## 戻り値 | ## 戻り値 | ||
− | (string) baserCMSがインストールされたWEBサイトのURL | + | (string) |
+ | : baserCMSがインストールされたWEBサイトのURL | ||
2016年11月4日 (金) 22:32時点における版
[このコンテンツは内容調整中です]
目次
説明
WEBサイトURLを取得する。
使い方
$this->BcBaser->getSiteUrl( $ssl );
パラメータ
(boolean) $ssl
- 初期値 : false
戻り値
- (string)
- baserCMSがインストールされたWEBサイトのURL
用例
基本
コード
<?php echo $this->BcBaser->getSiteUrl(); ?>