PHP Classes

File: ex7.xtpl

Recommend this page to a friend!
  Classes of barnabás debreceni  >  XTemplate  >  ex7.xtpl  >  Download  
File: ex7.xtpl
Role: ???
Content type: text/plain
Description: template file for ex7.p
Class: XTemplate
Template engine for PHP
Author: By
Last change:
Date: 16 years ago
Size: 560 bytes


Class file image Download
<!-- BEGIN: main -->
<head><title>example 7</title></head>
you can include template files inside another one, even recursively!<br>
for example:<br>
{FILE "ex7-inc.xtpl"}
if your include file contains blocks, you start its name it with tha original file's actual block..
 (the FILE directive gets replaced by the file contents, and the whole thing gets parsed)<br>
		<!-- BEGIN: inc -->
		included file follows: {FILE "ex7-inc2.xtpl"}
		<!-- END: inc -->

<!-- END: main -->