Posted By

pckujawa on 08/11/06


Tagged

php pear template


Versions (?)

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


 / Published in: PHP
 

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

  1. foreach($t->getBlockvariables("__global__") as $v)
  2. echo "\t'$v' \t=> ,\n";

Report this snippet  

You need to login to post a comment.