PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Yerfry Ramirez   PHP OOP Template Engine   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Index page
Class: PHP OOP Template Engine
Setup and process template with a fluent interface
Author: By
Last change: None
Date: 7 years ago
Size: 352 bytes


Class file image Download
require_once 'config.php';

$Template = new Template();

assign('Variable', 'mhm')

/** You can also do
    $Template->assign('Variable', 'mhm');

    $Template->Output(); // Or $Template->setFile('test.html')->Output();