template.class.php
template.class.php
- a simple HTML template class for PHP
template.class.[hp
provides a general purpose HTML template capability allowing variables within the template to be expanded to their PHP value
It uses PHP as its templating language
No caching is provided
class Template Render variables into html page template No external dependencies Constructor for this template th = new Template([file == null]) Set template variable to value null = th->setTemplate(name,value) Open, parse, and return the expanded template string or DIE = th->expandTemplate([file = null]) Displays the template variables expanded null = th->showTemplate([file = null])
page.tpl.ph
is an example HTML page template
None known
John Bartlett
johnb@thesolution.com.au
Standalone