Theme:
Acid
|
White
easy PHP template engine
Home
 
Download
 
Quick Start
 
Documentation
 
Speed Test
 
Forum
 
Documentation
/
Documentation for PHP developers
Installation
Download
and extract RainTPL.
Copy the file
rain.tpl.class.php
in your project directory (eg.
inc/
).
Create the templates directory (eg.
tpl/
),
Include
rain.tpl.class.php
in your script:
include
"inc/rain.tpl.class.php"
;
//include Rain TPL
« Requisites
^ Documentation for PHP developers ^
Methods »
Documentation for web designers
Knowledge Base
WYSIWYG
RainTPL Tags
{$variable}
{#constant#}
{if="condition"}{/if}
{loop="array"}{/loop}
{include="template"}
{|modifier}
{function="my_fun()"}
{* comment *}
{noparse}{/noparse}
Documentation for PHP developers
Requisites
Installation
Methods
Assign
Draw
Cache
Configure