Lines Matching defs:text

155                 // check its not a placeholder that indicates actual footnote text is elsewhere
198 * @param string $text the text to display
201 public function toc_additem($id, $text, $level)
207 $this->toc[] = html_mktocitem($id, $text, $level - $conf['toptoclevel'] + 1);
214 * @param string $text the text to display
220 public function header($text, $level, $pos, $returnonly = false)
224 if (blank($text)) return; //skip empty headlines
226 $hid = $this->_headerToLink($text, true);
229 $this->toc_additem($hid, $text, $level);
253 $data['name'] = $text;
259 $header .= $this->_xmlEntities($text);
288 * Render plain text data
290 * @param $text
292 public function cdata($text)
294 $this->doc .= $this->_xmlEntities($text);
581 * Output unformatted $text
585 * @param string $text
587 public function unformatted($text)
589 $this->doc .= $this->_xmlEntities($text);
609 * Output preformatted text
611 * @param string $text
613 public function preformatted($text)
615 $this->doc .= '<pre class="code">' . trim($this->_xmlEntities($text), "\n\r") . '</pre>' . DOKU_LF;
619 * Display text as file content, optionally syntax highlighted
621 * @param string $text text to show
626 public function file($text, $language = null, $filename = null, $options = null)
628 $this->_highlight('file', $text, $language, $filename, $options);
632 * Display text as code content, optionally syntax highlighted
634 * @param string $text text to show
639 public function code($text, $language = null, $filename = null, $options = null)
641 $this->_highlight('code', $text, $language, $filename, $options);
648 * @param string $text text to show
654 public function _highlight($type, $text, $language = null, $filename = null, $options = null)
683 if (str_starts_with($text, "\n")) {
684 $text = substr($text, 1);
686 if (str_ends_with($text, "\n")) {
687 $text = substr($text, 0, -1);
691 $this->doc .= '<pre class="' . $type . '">' . $this->_xmlEntities($text) . '</pre>' . DOKU_LF;
697 p_xhtml_cached_geshi($text, $language, '', $options) .
748 * Entities are basically small text replacements
1175 * @param string $title descriptive text
1260 * @param string $title descriptive text
1662 * @param string $title descriptive text
1813 * @return string HTML of the title, might be full image tag or just escaped text
1869 * @param string $title descriptive text