「関数リファレンス/BcBaser getThemeUrl」の版間の差分
提供: baserCMS公式ガイド
(ページの作成:「## 説明 現在のテーマのURLを取得する。 ## 使い方 <syntaxhighlight lang="php"> $this->BcBaser->getThemeUrl(); </syntaxhighlight> ## パラメータ #...」) |
|||
(2人の利用者による、間の2版が非表示) | |||
行7: | 行7: | ||
$this->BcBaser->getThemeUrl(); | $this->BcBaser->getThemeUrl(); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
− | |||
− | |||
## 戻り値 | ## 戻り値 | ||
行22: | 行19: | ||
####コード | ####コード | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
− | + | <img src="<?php echo $this->BcBaser->getThemeUrl() ?>img/logo.png" /> | |
</syntaxhighlight> | </syntaxhighlight> | ||
行45: | 行42: | ||
## 関連資料 | ## 関連資料 | ||
+ | [[Category:関数リファレンス]] |
2016年3月30日 (水) 11:55時点における最新版
説明
現在のテーマのURLを取得する。
使い方
$this->BcBaser->getThemeUrl();
戻り値
- (string)
- テーマURL
用例
基本
コード
<img src="<?php echo $this->BcBaser->getThemeUrl() ?>img/logo.png" />