PHP Classes

File: sample.php

Recommend this page to a friend!
  Classes of Chris Lam  >  Booster Template  >  sample.php  >  Download  
File: sample.php
Role: Example script
Content type: text/plain
Description: sample usage of the class
Class: Booster Template
Compiled template engine
Author: By
Last change: n/a
Date: 13 years ago
Size: 361 bytes


Class file image Download

function booster_lang($token)
ucwords(str_replace('_', ' ', $token));


$b = new Booster();

// Variables to be used within the loaded template
$data = array(
'abc' => 123.269,
'rows' => array('peter', 'Christopher', 'Ben', 'Chris')

// Load the template
$b->load('test', $data);


For more information send a message to info at phpclasses dot org.