PHP Classes

File: plato.inc

Recommend this page to a friend!
  Classes of Rick Hopkins   plato   plato.inc  
File: plato.inc
Role: Class source
Content type: text/plain
Description: template engine
Class: plato
Template parsing engine
Author: By
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

You need to be a registered user and login to get this file.

1,614,377 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on: