Friday, May 29, 2009

Re: Forms with math computations and multiple buttons

i guess you use cake 1.1

as in 1.2 cake seems not to use $this->params['form']
(always an empty array)

mark


On 29 Mai, 03:43, espontaneo <acohln...@gmail.com> wrote:
> Thanks for answering my questions. The number helper is only for the view
> right? Can I use it on my component/controller? I have search through the
> internet and people don't recommend it.
>
> brian-263 wrote:
>
> > OK, I understand. Why don't you use the currency method?
>
> >http://api.cakephp.org/class/number-helper#method-NumberHelpercurrency
>
> > You might want to override the defaults with the $options array if you
> > don't want a dollar sign, etc.
>
> > Note that the comment for format() method ("Formats a number into a
> > currency format.") is bogus. That's just been copied from currency().
>
> --
> View this message in context:http://www.nabble.com/Forms-with-math-computations-and-multiple-butto...
> Sent from the CakePHP mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: