「ver4/関数リファレンス/swf」の版間の差分
提供: baserCMS公式ガイド
Katokaisya (トーク | 投稿記録) (ページの作成:「[このコンテンツは内容調整中です] ## 説明 Flashを表示する ## 使い方 <syntaxhighlight lang="php"> $this->BcBaser->swf( [$path] , [$id], [$width]...」) |
Katokaisya (トーク | 投稿記録) |
||
行6: | 行6: | ||
## 使い方 | ## 使い方 | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
− | $this->BcBaser->swf( | + | $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表示タグ