/ Published in: PHP
(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.
Useful script to find all global variables and put them
in a format for an array. $t is the HTML_Template_IT(X) object.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
foreach($t->getBlockvariables("__global__") as $v) echo "\t'$v' \t=> ,\n";