Location: PHPKode > scripts > RogePHP > RoguePHP-0.9.4/RoguePHP-0.9.4/i18n/Locale.php
<?php
/**
 * Format locale based strings, such as dates and money
 * 
 * @author Cory Marsh
 * @license http://www.opensource.org/licenses/bsd-license.php BSD License
 */
class Locale
{
	private static $_locale;

	public static function setLocale($locale)
	{
		self::$_locale = $locale;
	}


	public static function money($value)
	{
		return money_format('%i', $value);
	}

	public static function date($timestamp)
	{
		return date('D, M j Y', $timestamp);
	}
}
?>
Return current item: RogePHP