RE: [Phplib-users] Template Bugs..
Brought to you by:
nhruby,
richardarcher
|
From: Richard A. <rh...@ju...> - 2002-05-13 21:20:25
|
At 4:44 PM -0400 13/5/02, Mike Gifford wrote: >Ok.. How do I enable template.inc debugging.. That would likely be >useful info.. $this->template->debug = true; The template.inc from the development tree has much nicer debugging than the -stable one. With this version there are three levels of debugging: * This is a bitwise mask of available debug levels: * 0 = no debugging * 1 = debug variable assignments * 2 = debug calls to get variable * 4 = debug internals (outputs all function calls with parameters). So, $this->template->debug = 7; would enable full debugging including a trace of all function calls within the template class. You can pull it out of the CVS via: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/phplib/php-lib/php/ext/template.inc?rev=HEAD&content-type=text/plain ...R. |