Re: Smarty + DataObject and DataObjectDebugger's console...
| From: | Justin Patrin | Date: | Thu, 07 Oct 2004 17:10:21 +0000 |
| Subject: | Re: Smarty + DataObject and DataObjectDebugger's console... | ||
| References: | 1 | Groups: | php.pear.general php.smarty.general |
| Request: | Send a blank email to pear-general+get-14799@lists.php.net to get a copy of this message | ||
On Thu, 7 Oct 2004 19:30:57 +0400, Denis Gerasimov
<denis.gerasimov@vekos.ru> wrote:
>
> Hello all
>
> We are trying to develop debugging console for PEAR DB_DataObject that
> should be similar to "internal" Smarty debug console.
>
> For example, look at this screenshot
> http://www.vekos.ru/images/DataObjectDebugger_Consonle.png
>
> However we have some troubles that seem to be difficult to solve. Does
> anybody know how we can implement Smarty-like debugging console for our own
> needs (it should be based on Smarty)?
>
The best way might be to create a listener callback which outputs JS
which changes the "console". You can do this by setting the debug
option to a valid callback instead of "1". JS is actually how Smarty
does it (see the debug.tpl in the Smarty distribution).
--
paperCrane --Justin Patrin--