Draw is the method that draw the selected template $template_name.
If return_string = true, return a string with designed template.
Example:
<?php
//include RainTPL
include 'inc/rain.tpl.class.php';
//initialize
$tpl = new RainTPL();
//assign template...
$tpl->assign( 'msg', 'Hello World!' );
//draw template...
$tpl->draw( 'test' );
//... or get the template output
//$output = $tpl->draw('test', $return_string=true);
?>
//include RainTPL
include 'inc/rain.tpl.class.php';
//initialize
$tpl = new RainTPL();
//assign template...
$tpl->assign( 'msg', 'Hello World!' );
//draw template...
$tpl->draw( 'test' );
//... or get the template output
//$output = $tpl->draw('test', $return_string=true);
?>
