src/Theme.php
public function toHtml()
    {
        // load the theme and context (site) configs
        $this->getContextConfig();
        $this->getThemeConfig();

        $filename = $this->getTemplateFolder().$this->getTemplate();
        $html = $this->getTemplateFile($filename, $this);
        
        return $html;
    }
public function toHtml()
    {
        // load the theme and context (site) configs
        $this->getContextConfig();
        $this->getThemeConfig();

        $filename = $this->getTemplateFolder().$this->getTemplate();
        $html = $this->getTemplateFile($filename, $this);
        
        return $html;
    }
public function toHtml ( ) { // load the theme and context (site) configs $ this -> getContextConfig ( ) ; $ this -> getThemeConfig ( ) ; $ filename = $ this -> getTemplateFolder ( ) . $ this -> getTemplate ( ) ; $ html = $ this -> getTemplateFile ( $ filename , $ this ) ; return $ html ; }
Output content to html

@return string html
Output content to html