Get started with TempLight


Decompress the downloaded files and copy the templight.class.php in your project directory. It's the only file you need to start using TempLight.

Start to code

To start using as TempLight object you have to construct one that way :

$tpl = new TempLight('template/my_template.html');

The constructor take an argument that give the physical path to the template file. This file must exists. To go to the next step you need to create one.