Lines Matching refs:this

36         $this->Lexer->addEntryPattern('<toc>(?=.*?</toc>)', $mode, 'plugin_siteexport_toc');
37 $this->Lexer->addEntryPattern('<toc .+?>(?=.*?</toc>)', $mode, 'plugin_siteexport_toc');
38 $this->Lexer->addSpecialPattern("\[\[.+?\]\]", $mode, 'plugin_siteexport_toc');
42 $this->Lexer->addExitPattern('</toc.*?>', 'plugin_siteexport_toc');
51 $this->insideToc = true;
52 $this->options = explode(' ', substr($match, 5, -1)?:"");
53 return array('start' => true, 'pos' => $pos, 'options' => $this->options);
57 if ($this->insideToc) {
110 $this->insideToc = false;
164 if (empty($this->mergedPages) && $renderer->meta['sitetoc']['mergeDoc']) {
169 $this->mergedPages[] = array($tocItem['id'], $tocItem['depth']);
176 if (count($this->mergedPages) > 0) {
180 …_open("1 mergedsite" . ($renderer->meta['sitetoc']['mergehint'] && count($this->mergedPages) > 1 ?…
183 foreach ($this->mergedPages as $tocItem) {
184 list($this->includedPages[]) = explode('#', $tocItem[0]);
189 foreach ($this->mergedPages as $tocElement) {
201 … $instructions = $this->_convertInstructions($instructions, $addID = null, $renderer, $depth);
203 … if ($renderer->meta['sitetoc']['mergeHeader'] && count($this->mergedPages) > 1) {
210 …$instructions = $this->_mergeWithHeaders($this->_initialHeaderStructure($instructions), $instructi…
213 $instr = $this->_mergeWithHeaders($instr, $instructions, 1);
236 if ( $this->_cleanAllInstructions($instr, true) ) {
243 $this->_render_output($renderer, $mode, $instr);
256 $this->mergedPages[] = array($SID, $DEPTH);
272 $renderer->meta['sitetoc']['siteexportTOC'] = $this->savedToc;
274 foreach ($this->savedToc as $page) {
278 $this->savedToc = array();
280 $this->savedToc[] = $this->__addTocItem($SID, $NAME, $DEPTH, $renderer);
337 $content = $this->_cleanXHTML($content);
368 $this->_convert_link($renderer, $instr[$i], $id);
371 $this->_convert_media($renderer, $instr[$i], $id);
374 … $this->_convert_header($renderer, $instr[$i], $depth-1); // -1 because the depth starts at 1
377 … $this->_convert_section($renderer, $instr[$i], $depth-1); // -1 because the depth starts at 1
399 if (in_array($pageID, $this->includedPages)) {
453 while ($this->_findNextHeaderSection($existing, $level, $existingStart, $existingEnd)) {
464 …if ($this->_findNextHeaderSection($newInstructions, $level, $newStart, $newEnd, $currentSlice[0][1…
471 … $returnedInstructions = $this->_mergeWithHeaders($currentSlice, $newSlice, $level+1, $mergeHint);
522 if ($this->_findNextHeaderSection($newInstructions, $level, $newStart, $newEnd)) {
531 $this->_insertMergeHint($section_prepend, $mergeHint);
572 $this->_cleanInstructions($instr, '/p_(close|open)/');
573 $this->_cleanInstructions($instr, '/section_(close|open)/');
574 $this->_cleanInstructions($instr, '/listu_(close|open)/');
575 $this->_cleanInstructions($instr, '/listo_(close|open)/');
726 $this->_cleanAllInstructions($instructions);
730 $mergeHintPrepend = $this->_toctoolPrepends( $instructions );
736 $mergeHintId = sectionid($mergeHint, $this->mergeHints);
737 $this->merghintIds[$mergeHintId] = $mergeHint;