List of available variables, the debugger

Author Message

Muu Sle

Monday 19 June 2006 5:18:37 am

Hi,

This suggestion is based on this thread:
http://ez.no/community/forum/setup_design/ez_template_engine_debug

The attribute operator is great for debugging, it really makes the job a lot easier. But there are occasions where you don't know the actual name of the variable, especially for first timers dealing with collector forms and customizing xml tags.

To complete the debug, I really think it would be a grate addition if the debugger (popup/inline) could display a list of available variables, variables passed to the template(s).
I don't mean the actual content of the variable, just the names.

This functionality would be related to the get_defined_vars http://be2.php.net/manual/en/function.get-defined-vars.php.

Hopes this makes sense.

Thanks,

. m

. muusle

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.