Now look what you did, gone and got yourself stung :) Personally, I'm not an advocate of the "go look at the code" thing, thus my preference towards more descriptive doc blocks...
However, with specific reference to $form->end(), it doesn't get much clearer....It does the end tag, submit tags, some div stuff and clean up. http://api.cakephp.org/1.2/ On Feb 18, 2008 10:53 AM, nate <[EMAIL PROTECTED]> wrote: > > Try looking at the code and figuring out what all it actually does > before jumping to ignorant conclusions. > > Also, helpers support the "V" part of MVC, since it stands for "View," > so asking how helpers support MVC is like asking how oxygen tanks > support breathing: they just do. Do you need to ask? Your mission > this year is to ask less obvious questions, and get your boss to hire > less retarded designers. > > On Feb 18, 11:07 am, leo <[EMAIL PROTECTED]> wrote: > > Why is it good to write: > > > > <?php echo $form->end(); ?> > > > > instead of: > > > > </form> > > > > How do helpers support MVC? > > > > I can't expect my designer to understand: > > > > <?php echo $form->create(null, array('url' => '/recipes/add')); ?> > > > > When I have to refer to the manual everytime I have to write it (or > > debug it). I also have problems convincing my boss that this is a > > quicker way of doing things when the output - in this case - amounts > > to 53% more typing (in the case of the first example, 285% more > > typing). > > > > L. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---