code: private function _getRenderedToc($list, $depth=1) {
  		if (!isset($list) || empty($list))
  			return ('');
  		$html = "<ul class=\"toc-list\">\n";
  		foreach ($list as $entry) {
  			$html .= "<li class=\"toc-entry\">\n";
  			$html .= '<a href="#' . $this->getParam('anchorsPrefix') . $this->titleToIdentifier($depth, $entry['value']) . '">'. $entry['value'] . "</a>\n";
  			if (isset($entry['sub']))
  				$html .= $this->_getRenderedToc($entry['sub'], ($depth + 1));
  			$html .= "</li>\n";
  		}
  		$html .= "</ul>\n";
  		return ($html);
  	}
docs: Returns a chunk of rendered TOC.
  @param	array	$list	List of TOC entries.
  @param	int	$depth	(optional) Depth in the tree. 1 by default.
  @return	string	The rendered chunk.