PHP Classes

File: test/tpl3.php

Recommend this page to a friend!
  Classes of Nikos M.   InTpl PHP Template Engine Inheritance   test/tpl3.php   Download  
File: test/tpl3.php
Role: Auxiliary data
Content type: text/plain
Description: Template script
Class: InTpl PHP Template Engine Inheritance
Render templates that inherit from other templates
Author: By
Last change: v.1.1.3

* default block text if empty
Date: 5 days ago
Size: 428 bytes
 

Contents

Class file image Download
<?php $this->extend("tpl2.php"); ?> <?php $this->start("b1"); ?>(3 1)<?php $this->super()->block("b1"); ?><?php $this->end("b1"); ?> <?php $this->start("b2"); ?>(3 2)<?php $this->super()->block("b2"); ?><?php $this->end("b2"); ?> <?php $this->start("b3"); ?>(3 3)<?php $this->super()->block("b3"); ?><?php $this->end("b3"); ?> <?php $this->start("b4"); ?>(3 4)<?php $this->super()->block("b4"); ?><?php $this->end("b4"); ?>