public function RenderBlock($block)
    {
        $templateFile = $this->BuiltInTemplateFile();
        $blockFile = Path::AddExtension($templateFile, $block, true);
        $blockFileExt = Path::AddExtension($blockFile, 'phtml');
        if (!File::Exists($blockFileExt))
        {
            return '';
        }
        ob_start();
        require $blockFileExt;
        return ob_get_clean();
    }
public function RenderBlock($block)
    {
        $templateFile = $this->BuiltInTemplateFile();
        $blockFile = Path::AddExtension($templateFile, $block, true);
        $blockFileExt = Path::AddExtension($blockFile, 'phtml');
        if (!File::Exists($blockFileExt))
        {
            return '';
        }
        ob_start();
        require $blockFileExt;
        return ob_get_clean();
    }
public function RenderBlock ( $ block ) { $ templateFile = $ this -> BuiltInTemplateFile ( ) ; $ blockFile = Path :: AddExtension ( $ templateFile , $ block , true ) ; $ blockFileExt = Path :: AddExtension ( $ blockFile , 'phtml' ) ; if ( ! File :: Exists ( $ blockFileExt ) ) { return '' ; } ob_start ( ) ; require $ blockFileExt ; return ob_get_clean ( ) ; }
Renders a block by name
@param string $block
@return string
Renders a block by name