Lines Matching refs:this

32         $this->doc = preg_replace('#<p[^>]*>\s*<!--PN-->.*?(?:</p>)#','',$this->doc);
34 $this->doc = preg_replace('/<!--PN-->/','',$this->doc);
40 if ($this->_displayPN()) {
41 $pnid = $this->_getID($this->getConf('numbering')?2:1);
42 $linkText = $this->getConf('linkText') ? $pnid : '§';
45 $link .= '" class="pn" title="'.$this->getLang('sectionlink').'">'.$linkText.'</a>';
46 $link .= $this->_getAnnotationLink();
48 $this->doc = preg_replace('/(<\/h[1-5]>)$/', $link.'\\1', $this->doc);
54 'doc' => &$this->doc,
55 'pid' => $this->_getID()
57 // note: this will also be triggered by empty paragraphs
59 $this->doc .= DOKU_LF.'<p'.$this->_getID(1,1).'>'.DOKU_LF;
63 $this->doc .= $this->_getLink().'</p>'.DOKU_LF;
64 if (preg_match('/<p[^>]*>\s*<!--PN-->.*?(?:<\/p>)$/',$this->doc)) {
65 $this->PNitemCount--;
68 'doc' => &$this->doc,
69 'pid' => $this->_getID()
76 $this->doc .= '<li class="level'.$level.'"'.$this->_getID(1,1).'>';
80 $this->doc .= $this->_getLink().'</div>'.DOKU_LF;
84 $this->doc .= '<pre class="'.$type.'"'.$this->_getID(1,1).'>'.
85 trim($this->_xmlEntities($text),"\n\r").
86 $this->_getLink().'</pre>'.DOKU_LF;
90 $this->_counter['row_counter'] = 0;
91 $this->doc .= '<div class="table"><table class="inline"'.$this->_getID(1,1).'>'.DOKU_LF;
95 $this->doc .= '</table></div>'.$this->_getLink(1).DOKU_LF;
104 $this->doc .= ob_get_contents();
107 $code = '<'.$wrapper.$this->_getID(1,1).' class="code php">';
109 $code .= $this->_getLink();
111 $this->doc .= $code;
113 $this->doc .= p_xhtml_cached_geshi($text, 'php', $wrapper);
121 $this->doc .= $text;
123 $code = '<'.$wrapper.$this->_getID(1,1).' class="code html4strict">';
125 $code .= $this->_getLink();
127 $this->doc .= $code;
129 $this->doc .= p_xhtml_cached_geshi($text, 'html4strict', $wrapper);
143 $this->doc .= '<dl class="'.$type.'">'.DOKU_LF;
144 $this->doc .= '<dt><a href="'.exportlink($ID,'code',array('codeblock'=>$this->_codeblock)).'" title="'.$lang['download'].'" class="'.$class.'">';
145 $this->doc .= hsc($filename);
146 $this->doc .= '</a></dt>'.DOKU_LF.'<dd>';
157 $this->preformatted($text, $type);
162 $this->doc .= "<pre class=\"$class $language\" ".$this->_getID(1,1).">".
164 $this->_getLink().'</pre>'.DOKU_LF;
168 $this->doc .= '</dd></dl>'.DOKU_LF;
171 $this->_codeblock++;
184 if ($this->_displayPN()) {
187 $internalID = $this->getConf('internalID');
192 $this->PNitemCount++;
195 $this->PNitemCount = 0;
201 } else if ($this->getConf('uniqueness')) {
210 if ($this->getConf('numbering')) {
212 $nodeID = preg_replace('/(\.0)*$/','',join('.',$this->node));
213 $itemNo = str_replace(':0','',':'.$this->PNitemCount);
217 $out = $prefix.$this->PNitemCount;
240 if ($this->_displayPN()) {
241 $linkText = $this->getConf('linkText') ? $this->_getID() : '¶';
244 $pnlink = $sep.'<a href="#'.$this->_getID().'" class="pn" title="'.$this->getLang('sectionlink').'">'.$linkText.'</a>';
245 $pnlink .= $this->_getAnnotationLink();
260 $annotationPage = $this->getConf('annotationPage');
272 $this->_getID(0,0,1,1),
273 $this->_getID(0,0,0,1),
280 $onlyIcon = $this->getConf('linkText') ? '' : 'onlyIcon';
284 html_wikilink($aID,$this->getLang('comment')).
301 if (!$this->getConf('includeStartpage') && noNS($ID)==$conf['start']) return false;
303 if ($this->getConf('restrictionNS')) {
305 $restrictionNS = explode(',', $this->getConf('restrictionNS'));
306 $restrictionType = $this->getConf('restrictionType');