eZ Community » Forums » Developer » l10n in PHP
expandshrink

l10n in PHP

l10n in PHP

Sunday 21 November 2010 2:50:52 pm - 4 replies

Someone can suggest me how to obtain the same result of this template operator in php?

{$price|l10n('currency')}

Thanks, Gabriele

Sunday 21 November 2010 4:08:42 pm

Hi Gabriele, and welcome to the eZ Community !

You should check these few lines, PHP body of the template operator your are mentioning :
https://github.com/ezsystems/ezpu...es/eztemplatelocaleoperator.php#L490

Let us know if this answers your question!
Cheers,

Sunday 21 November 2010 5:43:38 pm

Damnit nico, I was coming with the same answer ! Same answer as our respected community manager, then blunk.gif Emoticon

Monday 22 November 2010 9:46:21 am

Damnit nico, I was coming with the same answer ! Same answer as our respected community manager, then blunk.gif Emoticon

A "who's shooting first" contest on a sunday afternoon, i like that happy.gif Emoticon

Monday 22 November 2010 11:45:57 am

Thanks happy.gif Emoticon

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from