public function setTemplate($tpl, $clearParams=true)
    {
        if ($clearParams) {
            $this->clearParams();
        }
        $this->templateFile = $this->templatesPath.$tpl.'.tpl.php';
    }
public function setTemplate($tpl, $clearParams=true)
    {
        if ($clearParams) {
            $this->clearParams();
        }
        $this->templateFile = $this->templatesPath.$tpl.'.tpl.php';
    }
public function setTemplate ( $ tpl , $ clearParams = true ) { if ( $ clearParams ) { $ this -> clearParams ( ) ; } $ this -> templateFile = $ this -> templatesPath . $ tpl . '.tpl.php' ; }
Set the name of the template to be used. Should not include file extension.

@param string $tpl
@param boolean $clearParams
@return void
Set the name of the template to be used . Should not include file extension .