URL smarty_function_jspack(
$pParams, &$gBitSmarty, string $pParams[ipackage], string $pParams[ifile], string $pParams[defer], object $gBitSmarty)
|
|
this function will output the URL to a given compressed and cached js file.
NOTE: if you use the util package, it will automatically insert the javascript/ subdir
Tags:
Parameters
string |
$pParams[ipackage] |
package the javascript file is in. this will default to: 'util'. e.g.: wiki |
string |
$pParams[ifile] |
subdir and filename of the file you wish to pack and cache. e.g.: libs/jsfile.js |
string |
$pParams[defer] |
includes defer='defer' |
object |
$gBitSmarty |
|
|
$pParams |
|
|
&$gBitSmarty |
|