PHP Classes
elePHPant
Icontem

File: Controller.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Mallory Dessaintes  >  PHP Simple View  >  Controller.php  >  Download  
File: Controller.php
Role: Example script
Content type: text/plain
Description: Example controller file
Class: PHP Simple View
Template engine that supports template inheritance
Author: By
Last change:
Date: 3 years ago
Size: 258 bytes
 

Contents

Class file image Download
<?php
   
   
require '../includes/base/class/PhpSimpleView.class.php';
   
   
   
$view = new PhpSimpleView();
   
   
$view->header = 'Heeeader';
   
$view->footer = 'Fooooter';
   
$view->contents = 'coooooonnnnnnnnnnntents';
   
   
$view->loadTemplate('index.tpl');
?>