Lines Matching refs:toc
96 $toc = $INFO['meta']['description']['tableofcontents'];
98 $toc = p_get_metadata($id,'description tableofcontents');
100 if ($toc == null) return array();
103 $toc = $this->_toc($toc, $topLv, $maxLv, $headline);
106 foreach ($toc as &$item) {
119 return $toc;
125 function _toc(array $toc, $topLv=null, $maxLv=null, $headline='') { argument
134 foreach ($toc as $item) {
170 function html_toc(array $toc, ...$params) { argument
179 $toc = $this->_toc($toc, $topLv, $maxLv, $headline);
182 if (count($toc) < $this->getConf('tocminheads')) {
185 $html = html_TOC($toc); // use function in inc/html.php