On Sat, Sep 18, 2010 at 6:16 PM, Evan R. Murphy <[email protected]> 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 [email protected] 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
