You are here

function swftools_json_params in SWF Tools 6

Same name and namespace in other branches
  1. 5 swftools.module \swftools_json_params()
  2. 6.3 swftools.module \swftools_json_params()
  3. 6.2 swftools.module \swftools_json_params()
3 calls to swftools_json_params()
lutman_swftools_embed in lutman/lutman.module
Implementation of swftools_embed hook Returns the markup for the page, plus set necessary javascript.
swfobject_swftools_embed in swfobject/swfobject.module
Implementation of swftools_embed hook Returns the markup for the page, plus set necessary javascript.
ufo_swftools_embed in ufo/ufo.module
Implementation of swftools_embed hook Returns the markup for the page, plus set necessary javascript.

File

./swftools.module, line 505

Code

function swftools_json_params(&$params, $attr = 'swftools') {
  return $attr . "='" . drupal_to_js($params) . "'";
}