PHP Classes

File: examples/example1.php

Recommend this page to a friend!
  Classes of Full name   x64Template Engine   examples/example1.php   Download  
File: examples/example1.php
Role: Example script
Content type: text/plain
Description: Example
Class: x64Template Engine
Template engine extensible with plug-in classes
Author: By
Last change: Changed include paths to reflect folder change
Date: 18 years ago
Size: 526 bytes


Class file image Download


//We start the object
$tpl=new x64Template();

//We set some values
$tpl->set("title","x64Template - First example");
$tpl->set("keywords","x64Template, first example");
$tpl->set("description","x64Template - First example showing how to use the class");
$tpl->set("message","Hi there!, how do you like the class?");

//Now we tell the class to parse a file