個人用ツール

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

提供: baserCMS公式ガイド

移動: 案内, 検索
(ページの作成:「[このコンテンツは内容調整中です] ## 説明 Flashを表示する ## 使い方 <syntaxhighlight lang="php"> $this->BcBaser->swf( [$path] , [$id], [$width]...」)
 
行6: 行6:
 
## 使い方
 
## 使い方
 
<syntaxhighlight lang="php">
 
<syntaxhighlight lang="php">
$this->BcBaser->swf( [$path] , [$id], [$width] , [$height] , [$options] )
+
$this->BcBaser->swf( $path , $id , $width , $height , [$options] )
 
</syntaxhighlight>
 
</syntaxhighlight>
  

2016年11月4日 (金) 19:38時点における版

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

説明

Flashを表示する

使い方

$this->BcBaser->swf( $path , $id , $width , $height , [$options] )

パラメータ

(string) $path
Flashのパス
(string) $id
任意のID(divにも埋め込まれる)
(int) $width
横幅
(int) $height
高さ
(array) $options
オプション - 初期値:array()
  • version : Flashのバージョン(初期値 : 7)
  • script : Flashを読み込むJavascriptのパス(初期値 : admin/swfobject-2.2)
  • noflash : Flashがインストールされてない場合に表示する文字列

戻り値

(string) Flash表示タグ

用例

基本

コード

 

出力

 

応用

コード

 

出力

 

変更履歴

ソースファイル

関連資料

類似の関数