Lines Matching refs:this

55         $this->mode = substr(get_class($this), 7);
58 $this->macro_pattern = '\n(?: {2,}|\t{1,})~~(?:dl|ol|ul):[\w -]*?~~';
66 $this->entry_pattern = '\n(?: {2,}|\t{1,})'.'(?:'
70 $this->match_pattern = '\n(?: {2,}|\t{1,})'.'(?:'
77 $this->extra_pattern = '\n(?: {2,}|\t{1,})(?![-*;:?+~])';
79 $this->exit_pattern = '\n';
84 $this->Lexer->addEntryPattern('[ \t]*'.$this->entry_pattern, $mode, $this->mode);
87 $this->Lexer->addSpecialPattern('[ \t]*'.$this->macro_pattern, $mode, $this->mode);
88 $this->Lexer->addPattern($this->macro_pattern, $this->mode);
94 $this->Lexer->addPattern($this->match_pattern, $this->mode);
95 $this->Lexer->addPattern(' ::? ', $this->mode); // dt and dd in one line
98 $this->Lexer->addPattern($this->extra_pattern, $this->mode);
101 $this->Lexer->addExitPattern($this->exit_pattern, $this->mode);
105 { // sort number used to determine priority of this mode
181 $num = $this->olist_info[$level];
182 //error_log('olist lv='.$level.' list_class='.$this->list_class['ol'].' num='.$num);
185 if (strpos($this->list_class['ol'], 'alphabet') !== false){
192 $marker = $this->olist_info[1];
197 $marker .= '.'.$this->olist_info[$i];
210 $this->list_class[substr($str,2,2)] = trim(substr($str,5,-2));
217 * Note: this function was used in the DW exttab3 plugin.
221 $handler->addPluginCall($this->getPluginName(),
236 $this->olist_level++; // increase olist level
242 if (isset($this->list_class[$tag])) {
244 $class.= ' '.$this->list_class[$tag];
246 $class.= ' '.$this->getConf($tag.'_class');
251 $this->_writeCall($tag,$attr,DOKU_LEXER_ENTER, $pos,$match,$handler);
261 $this->olist_level--; // reduce olist level
263 $this->_writeCall($tag,'',DOKU_LEXER_EXIT, $pos,$match,$handler);
276 $this->olist_info[$this->olist_level] = $m['num'];
277 $lv = $this->olist_level;
279 $attr.= ' data-marker="'.$this->olist_marker($lv).'"';
287 $this->_writeCall($tag,$attr,DOKU_LEXER_ENTER, $pos,$match,$handler);
296 $this->_writeCall($tag,'',DOKU_LEXER_EXIT, $pos,$match,$handler);
314 if (!$this->use_div) return;
318 $this->_writeCall($tag,$attr,DOKU_LEXER_ENTER, $pos,$match,$handler);
336 if (!$this->use_div) return;
340 $this->_writeCall($tag,'',DOKU_LEXER_EXIT, $pos,$match,$handler);
348 $this->_writeCall('p','',DOKU_LEXER_ENTER, $pos,$match,$handler);
356 $this->_writeCall('p','',DOKU_LEXER_EXIT, $pos,$match,$handler);
367 $this->storeListClass($match);
371 $m1 = $this->interpret($match);
377 $this->_openList($m1, $pos,$match,$handler);
379 $this->_openItem($m1, $pos,$match,$handler);
381 $this->_openWrapper($m1, $pos,$match,$handler);
383 if (isset($m1['p'])) $this->_openParagraph($pos,$match,$handler);
386 array_push($this->stack, $m1);
396 $this->list_class = array();
402 $this->storeListClass($match);
407 $m0 = array_pop($this->stack);
408 $m1 = $this->interpret($match);
422 array_push($this->stack, $m0);
427 if (isset($m0['p'])) $this->_closeParagraph($pos,$match,$handler);
433 $this->_closeWrapper($m0, $pos,$match,$handler);
444 $this->_closeWrapper($m0, $pos,$match,$handler);
451 $this->_closeItem($m0, $pos,$match,$handler);
453 $this->_closeList($m0, $pos,$match,$handler);
455 $m0 = array_pop($this->stack);
465 $this->_openParagraph($pos,$match,$handler);
470 array_push($this->stack, $m1);
477 array_push($this->stack, $m0);
481 $this->_closeItem($m0, $pos,$match,$handler);
483 if ($this->isListTypeChanged($m0, $m1)) {
484 $this->_closeList($m0, $pos,$match,$handler);
492 $this->_openList($m1, $pos,$match,$handler);
498 $this->_openItem($m1, $pos,$match,$handler);
500 $this->_openWrapper($m1, $pos,$match,$handler);
502 if (isset($m1['p'])) $this->_openParagraph($pos,$match,$handler);
505 array_push($this->stack, $m1);
519 return $this->render_xhtml($renderer, $data);
521 // $latex = $this->loadHelper('extlist_latex');
524 // $odt = $this->loadHelper('extlist_odt');
540 $renderer->doc.= $this->_open($tag, $attr);
547 $renderer->doc.= $this->_close($tag);
559 list($before, $after) = $this->_tag_indent($tag);
568 list($before, $after) = $this->_tag_indent('/'.$tag);
575 * Initialize this array only once instead of each time the method _tag_indent()
597 if (array_key_exists($tag, $this->indent))
598 return $this->indent[$tag];