個人用ツール

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

提供: baserCMS公式ガイド

移動: 案内, 検索
 
 
(2人の利用者による、間の2版が非表示)
行2: 行2:
  
 
## 説明
 
## 説明
アイコン(favicon)タグを出力します。
+
アイコン(favicon)タグを出力する。
  
 
## 使い方
 
## 使い方
 
<syntaxhighlight lang="php">
 
<syntaxhighlight lang="php">
$this->BcBaser->icon();
+
<?php $this->BcBaser->icon(); ?>
 
</syntaxhighlight>
 
</syntaxhighlight>
 
## 戻り値
 
なし
 
  
 
## 用例
 
## 用例
 
### 基本
 
### 基本
 +
アイコンタグを出力する。
 
####コード
 
####コード
 
<syntaxhighlight lang="php">
 
<syntaxhighlight lang="php">
行21: 行19:
 
####出力
 
####出力
 
<syntaxhighlight lang="html5">
 
<syntaxhighlight lang="html5">
 
+
<link href="/favicon.ico" type="image/x-icon" rel="icon">
 +
<link href="/favicon.ico" type="image/x-icon" rel="shortcut icon">
 
</syntaxhighlight>
 
</syntaxhighlight>
 
### 応用
 
####コード
 
<syntaxhighlight lang="php">
 
 
</syntaxhighlight>
 
 
####出力
 
<syntaxhighlight lang="html5">
 
 
</syntaxhighlight>
 
 
## 注
 
 
## 変更履歴
 
 
## ソースファイル
 
 
## 関連資料
 
 
##類似の関数
 
 
 
[[Category:関数リファレンスver4]]
 

2019年1月18日 (金) 00:31時点における最新版

[このコンテンツは内容調整中です]

説明

アイコン(favicon)タグを出力する。

使い方

<?php $this->BcBaser->icon(); ?>

用例

基本

アイコンタグを出力する。

コード

<?php $this->BcBaser->icon(); ?>

出力

<link href="/favicon.ico" type="image/x-icon" rel="icon">
<link href="/favicon.ico" type="image/x-icon" rel="shortcut icon">