Location: PHPKode > projects > Neobill > NeoBill0.5.6/solidworks/widgets/CurrencyWidget.class.php
<?php
/**
 * CurrencyWidget.class.php
 *
 * This file contains the definition of the CurrencyWidget class.
 *
 * @package SolidWorks
 * @author John Diamond <hide@address.com>
 * @copyright John Diamond <hide@address.com>
 * @license http://www.opensource.org/licenses/gpl-license.php GNU Public License
 */

/**
 * CurrencyWidget
 *
 * @package SolidWorks
 * @author John Diamond <hide@address.com>
 */
class CurrencyWidget extends TextWidget {
	/**
	 * Get Widget HTML
	 *
	 * Returns HTML code for this widget
	 *
	 * @param array $params Parameters passed from the template
	 * @return string HTML code for this widget
	 */
	function getHTML( $params ) {
		global $conf;
		return $conf['locale']['currency_symbol'] .
				parent::getHTML( $params );
	}
}
?>
Return current item: Neobill