PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Faris AL-Otabi   Simple PHP Template Engine Class   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Simple PHP Template Engine Class
Load and process template files replacing marks
Author: By
Last change:
Date: 11 months ago
Size: 204 bytes
 

Contents

Class file image Download

TemplateEngine

Simple PHP template handler

How to use

include_once 'Template.php';

$template = new Template("layout/");

echo $template->loadTemplate("index", ["username" => "admin"]);