Jelix 1.7.18

cfunction.swfbiscuit.php

Tags
subpackage

jtpl_plugin

author

Lepeltier kévin

contributor

Dominique Papin

copyright

2008 Lepeltier kévin

copyright

2008 Dominique Papin

see
http://www.jelix.org
licence

GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html

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

Search results