Login   Register  
PHP Classes
elePHPant
Icontem

File: inc.tpl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Gregory  >  PHTML::Template v2  >  inc.tpl  >  Download  
File: inc.tpl
Role: Auxiliary data
Content type: text/plain
Description: templates/inc.tpl
Class: PHTML::Template v2
PHP template compiler engine
Author: By
Last change: New syntax revision
Date: 9 years ago
Size: 581 bytes
 

Contents

Class file image Download
<TMPL_IF aa>
	inside 'IF' section ($aa = TRUE)<br />
<TMPL_ELSE>
	<TMPL_UNLESS bb>
		<b>Inside 'UNLESS' section  ($aa = FALSE, $bb = FALSE)</b><br />
	<TMPL_ELSE>
		<i>Inside alter 'UNLESS' section ($aa = FALSE, $bb = TRUE)</i><br />
	</TMPL_UNLESS>

	inside 'ELSE' section ($aa = FALSE, $bb = FALSE)<br />
</TMPL_IF>

<TMPL_SWITCH sw>
		Default SWITCH...CASE section ($sw is not equal 'one' or 'two', $sw = '<TMPL_VAR sw>')<br />
	<TMPL_CASE one>
		CASE 'one' section ($sw = 'one')<br />
	<TMPL_CASE two>
		CASE 'two' section ($sw = 'two')<br />
</TMPL_SWITCH>