AtkCurrencyAttribute
Appearance
atkCurrencyAttribute atkCurrencyAttribute (string $name, [int $flags = 0], [int $size = 10], [string $currencysymbol = ""], [int $decimals = 2], [string $decimalseparator = ""], [string $thousandsseparator = ""])
Example: $this->add(new atkCurrencyAttribute("pieceprice", AF_HIDE_LIST|AF_FORCE_LOAD, 12, "$", 5));
this sets a field pieceprice to use 5 decimal places and show $ for US Dollars, it does not show up in the list view and the field loads when accessing it via node calls.
--Rwolverine 19:54, 6 December 2007 (CET)