Procedural File: function.makepercentbar.php
Source Location: /modules/Stats/pntemplates/plugins/function.makepercentbar.php
Page Details:
Zikula Application Framework
Tags:
smarty_function_makepercentbar [line 29]
string smarty_function_makepercentbar(
array $params, object &$smarty, real $percent, string $label, int $width)
|
|
Smarty function to display a percentage bar Example <!--[makepercentbar percent=$browsers.msie.1 label="`$browsers.msie.1` %" width=200]-->
Tags:
Parameters
| array |
$params |
All attributes passed to this function from the template |
| object |
&$smarty |
Reference to the Smarty object |
| real |
$percent |
percentage of var |
| string |
$label |
text to display with bar |
| int |
$width |
width to use as a scaling factor |
|
|