Lines Matching defs:TOC
88 * @param bool $prependTOC should the TOC be displayed here?
130 * Places the TOC where the function is called
135 * @param bool $return Should the TOC be returned instead to be printed?
142 global $TOC;
150 if (is_array($TOC)) {
151 // if a TOC was prepared in global scope, always use it
152 $toc = $TOC;
154 // get TOC from metadata, render if neccessary
162 // try to load admin plugin TOC
166 $TOC = $toc; // avoid later rebuild
187 global $TOC;
203 if (!is_array($TOC)) $TOC = $plugin->getTOC(); //if TOC wasn't requested yet
1676 global $TOC;
1677 $oldtoc = $TOC;
1679 $TOC = $oldtoc;