PHP Classes

File: ex6.xtpl

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


Class file image Download
<!-- BEGIN: main -->
<head><title>example 6</title></head>
with SetNullBlock you can set the default value to put if the block doesn't get parsed.<br>
the default is to wipe it out, but you can set it up to put a custom string.<br>

<!-- BEGIN: block -->
	<b>sub blocks begins here ==&gt; [</b>
	<!-- BEGIN: subblock1 -->
	<b>this is subblock1 _PARSED_</b>
	<!-- END: subblock1 -->

	<!-- BEGIN: subblock2 -->
	<b>this is subblock2 _PARSED_</b>
	<!-- END: subblock2 -->
	<b>] &lt;== sub blocks ends here.</b><br>

<!-- END: block -->

<br><br> it? :) 
<!-- END: main -->