Hello everybody
I'm currently somewhat puzzled but is there a more convenient way to output
debug messages than the following?
// set debug message in your code
$oSmarty = oxUtilsView::getInstance()->getSmarty();
$oSmarty->_tpl_vars['my_debug_info'].="\My Debug info";
// output debug in template
[{$my_debug_info}]
è http://www.oxid-esales.com/forum/showthread.php?t=2923
I mean there's a debug mode but can't we developer's use it to append our own
debug messages?
I'm thinking about a function like $debug->appendMsg($myDebugInfo) or something
like that which appends my debug info to the debug data of OXID and is only
shown when the debug is set > 0.
Thanks
Marc
ORCA Services AG
Herrenmattstrasse 26
CH-4132 Muttenz
Office Basel: Aeschengraben 10, CH-4051 Basel
[email protected]<mailto:[email protected]>
T. +41 61 205 80 80
T. +41 61 205 80 73 (direkt)
F. +41 61 205 80 81
www.orca.ch<http://www.orca.ch>,
www.orca-services.ch<http://www.orca-services.ch>
"We convert your visitors into customers."
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general