Lines Matching refs:text

144                 // check its not a placeholder that indicates actual footnote text is elsewhere
190 * @param string $text the text to display
193 public function toc_additem($id, $text, $level) {
198 $this->toc[] = html_mktocitem($id, $text, $level - $conf['toptoclevel'] + 1);
205 * @param string $text the text to display
209 public function header($text, $level, $pos) {
212 if(blank($text)) return; //skip empty headlines
214 $hid = $this->_headerToLink($text, true);
217 $this->toc_additem($hid, $text, $level);
240 $data['name'] = $text;
246 $this->doc .= $this->_xmlEntities($text);
267 * Render plain text data
269 * @param $text
271 public function cdata($text) {
272 $this->doc .= $this->_xmlEntities($text);
526 * Output unformatted $text
530 * @param string $text
532 public function unformatted($text) {
533 $this->doc .= $this->_xmlEntities($text);
539 * @param string $text PHP code that is either executed or printed
544 public function php($text, $wrapper = 'code') {
549 eval($text);
553 $this->doc .= p_xhtml_cached_geshi($text, 'php', $wrapper);
563 * @param string $text The PHP code
565 public function phpblock($text) {
566 $this->php($text, 'pre');
572 * @param string $text html text
577 public function html($text, $wrapper = 'code') {
581 $this->doc .= $text;
583 $this->doc .= p_xhtml_cached_geshi($text, 'html4strict', $wrapper);
592 * @param string $text The HTML
594 public function htmlblock($text) {
595 $this->html($text, 'pre');
613 * Output preformatted text
615 * @param string $text
617 public function preformatted($text) {
618 $this->doc .= '<pre class="code">'.trim($this->_xmlEntities($text), "\n\r").'</pre>'.DOKU_LF;
622 * Display text as file content, optionally syntax highlighted
624 * @param string $text text to show
629 public function file($text, $language = null, $filename = null, $options=null) {
630 $this->_highlight('file', $text, $language, $filename, $options);
634 * Display text as code content, optionally syntax highlighted
636 * @param string $text text to show
641 public function code($text, $language = null, $filename = null, $options=null) {
642 $this->_highlight('code', $text, $language, $filename, $options);
650 * @param string $text text to show
655 public function _highlight($type, $text, $language = null, $filename = null, $options = null) {
683 if($text[0] == "\n") {
684 $text = substr($text, 1);
686 if(substr($text, -1) == "\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
1160 * @param string $title descriptive text
1232 * @param string $title descriptive text
1615 * @param string $title descriptive text
1756 * @return string HTML of the title, might be full image tag or just escaped text
1810 * @param string $title descriptive text