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