Zikula_Value_Addons
[ class tree: Zikula_Value_Addons ] [ index: Zikula_Value_Addons ] [ all elements ]

Procedural File: function.makepercentbar.php

Source Location: /modules/Stats/pntemplates/plugins/function.makepercentbar.php



Page Details:

Zikula Application Framework



Tags:

version:  $Id: function.makepercentbar.php 24342 2008-06-06 12:03:14Z markwest $
copyright:  (c) 2002, Zikula Development Team
link:  http://www.zikula.org
filesource:  Source Code for this file
license:  GNU/GPL








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:

return:  the results of the module function
author:  Mark West
see:  function.makepercentbar.php::smarty_function_makepercentbar()
since:  10/01/04


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
[ Top ]



Documentation generated on Fri, 18 Jul 2008 21:45:29 +0200 by phpDocumentor 1.4.1