「ver4/関数リファレンス/swf」の版間の差分
提供: baserCMS公式ガイド
Katokaisya (トーク | 投稿記録) |
Katokaisya (トーク | 投稿記録) |
||
行25: | 行25: | ||
(array) $options | (array) $options | ||
: オプション | : オプション | ||
− | + | : 初期値:array() | |
− | + | : `version` : Flashのバージョン(初期値 : 7) | |
− | + | : `script` : Flashを読み込むJavascriptのパス(初期値 : admin/swfobject-2.2) | |
− | + | : `noflash` : Flashがインストールされてない場合に表示する文字列 | |
## 戻り値 | ## 戻り値 | ||
− | (string) Flash表示タグ | + | (string) |
+ | : Flash表示タグ | ||
## 用例 | ## 用例 |
2016年11月4日 (金) 22:53時点における最新版
[このコンテンツは内容調整中です]
目次
説明
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表示タグ