<?php
class AppHelper extends Helper
{
/**
* Allows for readable HTML source
*/
function output($string)
{
return parent::output("${string}\n");
}
}
On Sat, Jul 25, 2009 at 4:55 AM, Shaun<sbefort@gmail.com> wrote:
>
> I'm using HTML helpers like $html->charset() and $html->meta() on
> separate lines, but of course the output is printed all on one line,
> which is very long and requires me to scroll horizontally when viewing
> the HTML source code. I would like to tidy this up a bit and force a
> newline after each of my helper statements. What's the best way to do
> this? Thanks.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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:
Post a Comment