個人用ツール

「関数リファレンス/BcBaser getThemeUrl」の版間の差分

提供: baserCMS公式ガイド

移動: 案内, 検索
(ページの作成:「## 説明 現在のテーマのURLを取得する。 ## 使い方 <syntaxhighlight lang="php"> $this->BcBaser->getThemeUrl(); </syntaxhighlight> ## パラメータ #...」)
 
行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>
  

2015年4月26日 (日) 21:53時点における版

説明

現在のテーマのURLを取得する。

使い方

$this->BcBaser->getThemeUrl();

戻り値

(string)
テーマURL

用例

基本

コード

<img src="<?php echo $this->BcBaser->getThemeUrl() ?>img/logo.png" />

応用

コード

 

出力

変更履歴

ソースファイル

関連資料