I am using Zend Framework
but not Zend_Application
, just some classes - no Controller. Is it possible to use zfdebug manually (call it manually when the script ends). I can't figure out how.
Thank you.
I am using Zend Framework
but not Zend_Application
, just some classes - no Controller. Is it possible to use zfdebug manually (call it manually when the script ends). I can't figure out how.
Thank you.
It looks as though you may be able to, but you will have to manually tie any of the objects its debugging to the plugin, e.g. take the guide at:
http://code.google.com/p/zfdebug/wiki/Installation
Move the bootstrap code to a class/function/file of your choice, and when you want to get the debug bar, call:
$response = new Zend_Controller_Response_Http();
$debug->setResponse($response);
$debug->dispatchLoopShutdown();
$response->outputBody();