Saturday, September 18, 2010

Re: Less verbose usage of HtmlHelper?

On Sat, Sep 18, 2010 at 6:16 PM, Evan R. Murphy <evanrmurphy@gmail.com> wrote:
> I figured out a way to do this through trial-and-error, but it's kinda
> kludgy.
>
> You create a libs/html.php file with wrapper functions for every
> HtmlHelper you want to alias:

Better to extend HTMLHelper. But, like others have said, these
examples don't merit using PHP of any kind to create. I'd sooner echo
the HTML as strings (ugh) than use a class to create basic markup.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate