cfunction.swfbiscuit.php
Tags
Table of Contents
- jtpl_cfunction_html_swfbiscuit() : string
- swfbiscuit plugin : Adds html code to display a swf.
Functions
jtpl_cfunction_html_swfbiscuit()
swfbiscuit plugin : Adds html code to display a swf.
jtpl_cfunction_html_swfbiscuit(jTpl $tpl, array<string|int, mixed> $params) : string
Example : {swfbiscuit 'promobidon.swf', array('id'=>'promo', 'width'=>150, 'height'=>90), array('quality'=>'hight', 'wmode'=>'transparent'), array('longeur'=>150)}
Render :
$params[0] url of the swf $params[1]['id'] id of <object .../> $params[1]['class'] class of <object .../> $params[1]['width'] Width final of SWF $params[1]['height'] Height final of SWF $params[2][xx] Parameter of the Flash Player $params[3][xx] Flashvar for the Flash Player
Parameters
- $tpl : jTpl
-
template engine
- $params : array<string|int, mixed>
-
parameters for the url
Return values
string —PHP generated code