Форматирование вывода заполнителяPhp

Кемеровские программисты php общаются здесь
Anonymous
Форматирование вывода заполнителя

Сообщение Anonymous »


I am creating a dynamic list of placeholders, some of the values held in these place holders are decimal numbers that are supposed to represent money.

What I'm wondering is if there is a way I can format them to display as such?

Something like [[+MoneyField:formatmoney]]

I see http://rtfm.modx.com/revolution/2.x/mak ... modifiers) but I do not see a way to do this here.


Источник: https://stackoverflow.com/questions/186 ... laceholder

Вернуться в «Php»