File: |
plato.inc |
Role: |
Class source |
Content type: |
text/plain |
Description: |
template engine |
Class: |
plato
Template parsing engine |
Author: |
By Rick Hopkins |
Last change: |
Added ability to place nested variables in the plato_include call.
index.php
----------
$pl->assign("header", "header.tpl");
index.tpl
------------
{plato_include=header&type=tpl&ref=1}
ref=1 will relate the plato_include=header to the header variable you created in index.php. |
Date: |
20 years ago |
Size: |
8,050 bytes |
|
|
|