On Fri, Mar 13, 2009 at 10:53 AM, Ernesto <e.fanz...@gmail.com> wrote: > > Hello. > Qhat's the difference between > > $form->input("a", array("type" => "checkbox)); > > and > > $form->checkbox("a");
There's no difference at all. These two forms are available just for convenience. When you pass "type"=>"checkbox" to $form->input, it calls $form->checkbox[1]. Best regards. [1] http://api.cakephp.org/view_source/form-helper/#line-766 -- MARCELO DE F. ANDRADE (aka "eleKtron") Belem, PA, Amazonia, Brazil Linux User #221105 [...@parĂ¡ ~]# links http://pa.slackwarebrasil.org/ --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---