Return to Snippet

Revision: 825
at August 11, 2006 14:44 by pckujawa


Initial Code
foreach($t->getBlockvariables("__global__") as $v)
  echo "\t'$v' \t=> ,\n";

Initial URL

                                

Initial Description
(Applies to the HTML_Template_IT PEAR package)
Useful script to find all global variables and put them
in a format for an array. $t is the HTML_Template_IT(X) object.

Initial Title
useful pear html template it script (show variables in a template)

Initial Tags
php, template

Initial Language
PHP