PHP Classes

File: examples/page256.php

Recommend this page to a friend!
  Classes of Victor Akinyemi   Lint   examples/page256.php   Download  
File: examples/page256.php
Role: Example script
Content type: text/plain
Description: The processing script for 'template256.tpl'.
Class: Lint
PHP compiling template engine
Author: By
Last change:
Date: 11 years ago
Size: 819 bytes
 

Contents

Class file image Download
<?php
include('lint_0_2alpha.php');
$rpa = array('title'=>'Lint v0.2alpha test page','css'=>'#pageContent {
background-color: rgb(230,230,230);
}
.content {
background-color: rgb(255,255,255);
}'
,'c1'=>'<p>Lint v0.2alpha test page<br>
A new version of Lint has been released!!! Features:<br>
<ul>
<li>Now in OOP - Lint has put the <b>O</b>bject <b>O</b>riented <b>P</b>rogramming concept to use!</li>
<li>Multiple templates - Thanks to the generation of a unique and random template file for each "LintTemplate" instance, you can now process multiple templates in one PHP script!</li>
<li>Template Manager - In order to make processing multiple templates in one PHP script easier, a "LintManager" class is currently being developed.</li>
</ol>
</p>'
);
$tmp = new LintTemplate('template256.tpl',$rpa);
$tmp->render();
?>