Lines Matching defs:text
14 * Some simplified rendering to $doc is done to gather the page's (text-only) abstract.
116 * Render plain text data
121 * @param $text
123 public function cdata($text)
129 $this->doc .= $text;
131 $this->captured += strlen($text);
141 * @param string $text the text to display
144 public function toc_additem($id, $text, $level)
153 'title' => $text,
163 * @param string $text the text to display
167 public function header($text, $level, $pos)
170 $this->meta['title'] = $text;
174 $hid = $this->_headerToLink($text, true);
175 $this->toc_additem($hid, $text, $level);
178 $this->cdata(DOKU_LF . $text . DOKU_LF);
290 * Output preformatted text
292 * @param string $text
294 public function preformatted($text)
296 $this->cdata($text);
316 * Display text as file content, optionally syntax highlighted
318 * @param string $text text to show
322 public function file($text, $lang = null, $file = null)
324 $this->cdata(DOKU_LF . $text . DOKU_LF);
328 * Display text as code content, optionally syntax highlighted
330 * @param string $text text to show
334 public function code($text, $language = null, $file = null)
336 $this->cdata(DOKU_LF . $text . DOKU_LF);
366 * Entities are basically small text replacements
603 * @param string $title descriptive text
630 * @param string $title descriptive text
705 * @return string title text