Initial Commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
class Zend_Controller_Action_Helper_Currency extends Zend_Controller_Action_Helper_Abstract
|
||||
{
|
||||
|
||||
|
||||
public function direct($number)
|
||||
{
|
||||
$currency = new Zend_Currency('it_IT');
|
||||
if ($number == null) return null;
|
||||
return $currency->toCurrency($number);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user