Documentation

Draw


Draw

Draw the selected template.
If return_string = true, return a string with designed template.



Example:

    $tpl = new View;
    $tpl->assign( 'msg', 'Hello World!' );
    $tpl->draw( 'test' );