Lines Matching defs:doc

37     /** @var string temporary $doc store */
113 $this->doc .= '<!-- EDIT' . hsc(json_encode($data, JSON_THROW_ON_ERROR)) . ' -->';
152 $this->doc .= '<div class="footnotes">' . DOKU_LF;
158 $this->doc .= '<div class="fn">';
159 $this->doc .= '<sup><a href="#fnt__' . $id . '" id="fn__' . $id . '" class="fn_bot">';
160 $this->doc .= $id . ')</a></sup> ' . DOKU_LF;
167 $this->doc .= ', <sup><a href="#fnt__' . ($ref) . '" id="fn__' . ($ref) . '" class="fn_bot">';
168 $this->doc .= ($ref) . ')</a></sup> ' . DOKU_LF;
172 $this->doc .= '<div class="content">' . $footnote . '</div>';
173 $this->doc .= '</div>' . DOKU_LF;
176 $this->doc .= '</div>' . DOKU_LF;
191 $this->doc = preg_replace('#<p>\s*</p>#', '', $this->doc);
217 * @param bool $returnonly whether to return html or write to doc attribute
218 * @return void|string writes to doc attribute or returns html depends on $returnonly
265 $this->doc .= $header;
276 $this->doc .= '<div class="level' . $level . '">' . DOKU_LF;
284 $this->doc .= DOKU_LF . '</div>' . DOKU_LF;
294 $this->doc .= $this->_xmlEntities($text);
302 $this->doc .= DOKU_LF . '<p>' . DOKU_LF;
310 $this->doc .= DOKU_LF . '</p>' . DOKU_LF;
318 $this->doc .= '<br/>' . DOKU_LF;
326 $this->doc .= '<hr />' . DOKU_LF;
334 $this->doc .= '<strong>';
342 $this->doc .= '</strong>';
350 $this->doc .= '<em>';
358 $this->doc .= '</em>';
366 $this->doc .= '<em class="u">';
374 $this->doc .= '</em>';
382 $this->doc .= '<code>';
390 $this->doc .= '</code>';
398 $this->doc .= '<sub>';
406 $this->doc .= '</sub>';
414 $this->doc .= '<sup>';
422 $this->doc .= '</sup>';
430 $this->doc .= '<del>';
438 $this->doc .= '</del>';
446 * is moved to $store and $doc is cleared
454 $this->store = $this->doc;
455 $this->doc = '';
474 $footnote = $this->doc;
475 $this->doc = $this->store;
490 $this->doc .= sprintf(
510 $this->doc .= "<ul$class>" . DOKU_LF;
518 $this->doc .= '</ul>' . DOKU_LF;
533 $this->doc .= "<ol$class>" . DOKU_LF;
541 $this->doc .= '</ol>' . DOKU_LF;
553 $this->doc .= '<li class="level' . $level . $branching . '">';
561 $this->doc .= '</li>' . DOKU_LF;
569 $this->doc .= '<div class="li">';
577 $this->doc .= '</div>' . DOKU_LF;
589 $this->doc .= $this->_xmlEntities($text);
597 $this->doc .= '<blockquote><div class="no">' . DOKU_LF;
605 $this->doc .= '</div></blockquote>' . DOKU_LF;
615 $this->doc .= '<pre class="code">' . trim($this->_xmlEntities($text), "\n\r") . '</pre>' . DOKU_LF;
672 $this->doc .= '<dl class="' . $type . '">' . DOKU_LF;
673 $this->doc .= '<dt><a href="' .
679 $this->doc .= hsc($filename);
680 $this->doc .= '</a></dt>' . DOKU_LF . '<dd>';
691 $this->doc .= '<pre class="' . $type . '">' . $this->_xmlEntities($text) . '</pre>' . DOKU_LF;
696 $this->doc .= "<pre class=\"$class $language\">" .
702 $this->doc .= '</dd></dl>' . DOKU_LF;
721 $this->doc .= '<abbr title="' . $title
724 $this->doc .= $this->_xmlEntities($acronym);
738 $this->doc .= '<img src="' . DOKU_BASE . 'lib/images/smileys/' . $this->smileys[$smiley] .
741 $this->doc .= $this->_xmlEntities($smiley);
757 $this->doc .= $this->entities[$entity];
759 $this->doc .= $this->_xmlEntities($entity);
773 $this->doc .= "$x&times;$y";
782 $this->doc .= $lang['singlequoteopening'];
791 $this->doc .= $lang['singlequoteclosing'];
800 $this->doc .= $lang['apostrophe'];
809 $this->doc .= $lang['doublequoteopening'];
818 $this->doc .= $lang['doublequoteclosing'];
825 * @param bool $returnonly whether to return html or write to doc attribute
826 * @return void|string writes to doc attribute or returns html depends on $returnonly
844 * @param bool $returnonly whether to return html or write to doc attribute
845 * @return void|string writes to doc attribute or returns html depends on $returnonly
854 $doc = '<a href="#' . $hash . '" title="' . $title . '" class="wikilink1">';
855 $doc .= $name;
856 $doc .= '</a>';
859 return $doc;
861 $this->doc .= $doc;
874 * @param bool $returnonly whether to return html or write to doc attribute
876 * @return void|string writes to doc attribute or returns html depends on $returnonly
955 $this->doc .= $this->_formatLink($link);
964 * @param bool $returnonly whether to return html or write to doc attribute
965 * @return void|string writes to doc attribute or returns html depends on $returnonly
984 $this->doc .= $name;
1016 $this->doc .= $this->_formatLink($link);
1029 * @param bool $returnonly whether to return html or write to doc attribute
1030 * @return void|string writes to doc attribute or returns html depends on $returnonly
1077 $this->doc .= $link['name'];
1078 } else $this->doc .= $this->_formatLink($link);
1086 * @param bool $returnonly whether to return html or write to doc attribute
1087 * @return void|string writes to doc attribute or returns html depends on $returnonly
1116 $this->doc .= $this->_formatLink($link);
1127 * @param bool $returnonly whether to return html or write to doc attribute
1128 * @return void|string writes to doc attribute or returns html depends on $returnonly
1167 $this->doc .= $this->_formatLink($link);
1181 * @param bool $return return HTML instead of adding to $doc
1182 * @return void|string writes to doc attribute or returns html depends on $return
1250 $this->doc .= $link['name'];
1252 $this->doc .= $this->_formatLink($link);
1266 * @param bool $return return HTML instead of adding to $doc
1267 * @return void|string writes to doc attribute or returns html depends on $return
1319 $this->doc .= $link['name'];
1320 } else $this->doc .= $this->_formatLink($link);
1364 $this->doc .= '<ul class="rss">';
1368 $this->doc .= '<li><div class="li">';
1377 $this->doc .= ' ' . hsc($item->get_title());
1384 if ($name) $this->doc .= ' ' . $lang['by'] . ' ' . hsc($name);
1388 $this->doc .= ' (' . $item->get_local_date($conf['dformat']) . ')';
1394 $this->doc .= '<div class="detail">';
1395 $this->doc .= hsc($desc);
1396 $this->doc .= '</div>';
1399 $this->doc .= '</div></li>';
1402 $this->doc .= '<li><div class="li">';
1403 $this->doc .= '<em>' . $lang['rssfailed'] . '</em>';
1406 $this->doc .= '<!--' . hsc($feed->error) . '-->';
1408 $this->doc .= '</div></li>';
1410 $this->doc .= '</ul>';
1438 $this->doc .= '<div class="' . $class . '"><table class="inline">' .
1449 $this->doc .= '</table></div>' . DOKU_LF;
1460 $this->doc .= DOKU_TAB . '<thead>' . DOKU_LF;
1468 $this->doc .= DOKU_TAB . '</thead>' . DOKU_LF;
1476 $this->doc .= DOKU_TAB . '<tbody>' . DOKU_LF;
1484 $this->doc .= DOKU_TAB . '</tbody>' . DOKU_LF;
1492 $this->doc .= DOKU_TAB . '<tfoot>' . DOKU_LF;
1500 $this->doc .= DOKU_TAB . '</tfoot>' . DOKU_LF;
1517 $this->doc .= DOKU_TAB . '<tr class="' . $class . '">' . DOKU_LF . DOKU_TAB . DOKU_TAB;
1525 $this->doc .= DOKU_LF . DOKU_TAB . '</tr>' . DOKU_LF;
1547 $this->doc .= '<th ' . $class;
1550 $this->doc .= ' colspan="' . $colspan . '"';
1553 $this->doc .= ' rowspan="' . $rowspan . '"';
1555 $this->doc .= '>';
1563 $this->doc .= '</th>';
1585 $this->doc .= '<td ' . $class;
1588 $this->doc .= ' colspan="' . $colspan . '"';
1591 $this->doc .= ' rowspan="' . $rowspan . '"';
1593 $this->doc .= '>';
1601 $this->doc .= '</td>';