Lines Matching refs:text
14 * Some simplified rendering to $doc is done to gather the page's (text-only) abstract.
114 * Render plain text data
119 * @param $text
121 public function cdata($text)
127 $this->doc .= $text;
129 $this->captured += strlen($text);
139 * @param string $text the text to display
142 public function toc_additem($id, $text, $level)
151 'title' => $text,
161 * @param string $text the text to display
165 public function header($text, $level, $pos)
168 $this->meta['title'] = $text;
172 $hid = $this->_headerToLink($text, true);
173 $this->toc_additem($hid, $text, $level);
176 $this->cdata(DOKU_LF . $text . DOKU_LF);
288 * Output preformatted text
290 * @param string $text
292 public function preformatted($text)
294 $this->cdata($text);
314 * Display text as file content, optionally syntax highlighted
316 * @param string $text text to show
320 public function file($text, $lang = null, $file = null)
322 $this->cdata(DOKU_LF . $text . DOKU_LF);
326 * Display text as code content, optionally syntax highlighted
328 * @param string $text text to show
332 public function code($text, $language = null, $file = null)
334 $this->cdata(DOKU_LF . $text . DOKU_LF);
364 * Entities are basically small text replacements
601 * @param string $title descriptive text
628 * @param string $title descriptive text
703 * @return string title text