PHP Classes

File: test/test.php

Recommend this page to a friend!
  Classes of Nikos M.   InTpl PHP Template Engine Inheritance   test/test.php   Download  
File: test/test.php
Role: Example script
Content type: text/plain
Description: Example script
Class: InTpl PHP Template Engine Inheritance
Render templates that inherit from other templates
Author: By
Last change: Update of test/test.php
Date: 1 year ago
Size: 125 bytes
 

Contents

Class file image Download
<?php

define
('ROOT', dirname(__FILE__));

include(
ROOT . '/../src/InTpl.php');

echo
InTpl::Tpl('tpl3.php', ROOT)->render();