public function getTemplateEngine()
    {
        if (null == $this->templateEngine) {
            $this->setTemplateEngine($this->getDefaultTemplateEngine());
        }

        return $this->templateEngine;
    }
public function getTemplateEngine()
    {
        if (null == $this->templateEngine) {
            $this->setTemplateEngine($this->getDefaultTemplateEngine());
        }

        return $this->templateEngine;
    }
public function getTemplateEngine ( ) { if ( null == $ this -> templateEngine ) { $ this -> setTemplateEngine ( $ this -> getDefaultTemplateEngine ( ) ) ; } return $ this -> templateEngine ; }
set template engine

@return Smarty
set template engine