-
-
Save Orkin/91d14749cb799c08392f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* To change this template, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
/** | |
* Description of PriceFormat | |
* | |
* @author Orkin | |
*/ | |
namespace Application\View\Helper; | |
use Zend\View\Helper\AbstractHelper; | |
class PriceFormat extends AbstractHelper { | |
function __invoke($price) { | |
return number_format($price, 0, '.', ' '); | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment