|
MIOLO25
|
Membros públicos | |
| __construct ($path=null) | |
| Path to the templates. | |
| set_path ($path) | |
| set ($name, $value) | |
| fetch ($file) | |
| execute ($file) | |
Campos de Dados | |
| $vars | |
| $path | |
| Holds all the template variables. | |
Adaptado de Brian E. Lozier (brian.nosp@m.@mas.nosp@m.sassi.nosp@m..net) - 2003 http://www.sitepoint.com/article/beyond-template-engine
| __construct | ( | $path = null | ) |
Path to the templates.
Constructor
| string | $path | the path to the templates |
| execute | ( | $file | ) |
Fetch the HTML template file and send to browser via redirect.
| string | string the template file name |
| fetch | ( | $file | ) |
Open, parse, and return the template file.
| string | string the template file name |
| set | ( | $name, | |
| $value ) |
Set a template variable.
| string | $name | name of the variable to set |
| mixed | $value | the value of the variable |
| set_path | ( | $path | ) |
Set the path to the template files.
| string | $path | path to template files |
| $path |
Holds all the template variables.
| $vars |