public function getToc($raw = false)
    {
        if ($raw === true)
            return ($this->_toc['sub']);
        $html = "<b>On this page:</b>" . $this->_getRenderedToc($this->_toc['sub']);
        return ($html);
    }
public function getToc($raw = false)
    {
        if ($raw === true)
            return ($this->_toc['sub']);
        $html = "<b>On this page:</b>" . $this->_getRenderedToc($this->_toc['sub']);
        return ($html);
    }
public function getToc ( $ raw = false ) { if ( $ raw === true ) return ( $ this -> _toc [ 'sub' ] ) ; $ html = "<b>On this page:</b>" . $ this -> _getRenderedToc ( $ this -> _toc [ 'sub' ] ) ; return ( $ html ) ; }
Returns the TOC content. By default, the rendered HTML is returned, but the
raw TOC tree is available.
@param    bool $raw (optional) Set to True to get the raw TOC tree. False by default.
@return    string|array    The TOC rendered HTML or the TOC tree.
Returns the TOC content . By default the rendered HTML is returned but the raw TOC tree is available .