Posted By

tgbdad on 03/05/09


Tagged

drupal phptemplate theming


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

tewoos
reverend


Find all variables available to a template


 / Published in: PHP
 

URL: http://groups.drupal.org/node/17473#comment-63730

  1. <pre><?php print_r(array_keys($variables)); ?></pre>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: MMDeveloper on March 5, 2009

you can also use



This will show ALL variables (local and global) within scope

You need to login to post a comment.