Lines Matching refs:toc
148 $toc = [];
152 $toc = $TOC;
156 $tocok = $meta['internal']['toc'] ?? true;
157 $toc = $meta['description']['tableofcontents'] ?? null;
158 if (!$tocok || !is_array($toc) || !$conf['tocminheads'] || count($toc) < $conf['tocminheads']) {
159 $toc = [];
165 $toc = $plugin->getTOC();
166 $TOC = $toc; // avoid later rebuild
170 Event::createAndTrigger('TPL_TOC_RENDER', $toc, null, false);
171 $html = html_TOC($toc);