Lines Matching +full:toc +(+path:plugin +path:siteexport) -(+path:plugin +path:siteexport +path:lang)
38 'toc' => true, // render the TOC?
39 'forceTOC' => false, // shall I force the TOC?
51 global $TOC, $ID, $INFO;
58 // $TOC = $this->toc = $newMeta; // 2010-08-23 doubled the TOC
59 $TOC = $newMeta;
67 // Prepare the TOC
68 global $TOC, $ID;
72 if ($this->info['toc'] === false && !($this->info['forceTOC'] || $this->meta['forceTOC'])) {
73 $TOC = $this->toc = array();
74 $meta['internal']['toc'] = false;
78 …rlen(strip_tags($this->doc)) >= $this->getConf('documentlengthfortoc') && count($this->toc) > 1)) {
79 $TOC = $this->toc;
80 // This is a little bit like cheating ... but this will force the TOC into the metadata
82 $meta['internal']['toc'] = true;
84 $meta['description']['tableofcontents'] = $TOC;