Tuesday, February 7, 2012

Turning off Debugkit debug data in a specific instance

I would like to turn off in a specific instruction $this->element(...) the behavior that the DebugKit has to add prepending line with "<!-- Rendiring xxx -->" etc.
The result of the element rendering goes in a string that should not have those HTML comments.
I would like to be able to keep the debug kit on except in that specific instance.

Is there a way to achieve that ?

Best,
    Chris   

--
--Everything should be made as simple as possible, but not simpler (Albert Einstein)

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
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

No comments: