Lines Matching refs:text

412      * @param string $text Text of the header
416 function header($text, $level, $pos) { argument
446 $this->_header($levels[$level], $text);
453 $this->_c('textbf', $this->_latexSpecialChars($text));
456 $label = $this->label_handler->newLabel($this->_createLabel($text));
464 * @param string $text Text to be inserted.
466 function cdata($text) { argument
467 $this->doc .= $this->_latexSpecialChars($text);
686 * @param string $text Unformatted text.
688 function unformatted($text) { argument
689 $this->doc .= $this->_latexSpecialChars($text);
694 * @param string $text PHP code.
696 function php($text) { argument
697 $this->code($text, "PHP");
702 * @param string $text PHP code.
704 function phpblock($text) { argument
705 $this->code($text, "PHP");
710 * @param string $text HTML code.
712 function html($text) { argument
713 $this->code($text, "HTML");
718 * @param string $text HTML code.
720 function htmlblock($text) { argument
721 $this->code($text, "HTML");
726 * @param string $text Preformatted text.
728 function preformatted($text) { argument
731 $this->doc .= $text;
756 * @param string $text The code itself.
760 function file($text, $lang = null, $file = null) { argument
761 $this->code($text, $lang, $file);
767 * @param string $text The code itself.
771 function code($text, $lang = null, $file = null) { argument
794 $text = str_replace('”', '"', $text);
795 $text = str_replace('–', '-', $text);
796 $this->doc .= $text;
1379 * @param string $text Text to insert into the brackets.
1383 protected function _c($command, $text = NULL, $newlines = 1, $params = NULL) { argument
1385 if (is_null($text)) {
1392 if (!is_null($text)) {
1393 $this->doc .= $text;
1505 * @param string $text Text of the Header.
1507 protected function _header($level, $text) { argument
1512 $text = str_replace("\"", "", $text);
1513 $this->doc .= $this->_latexSpecialChars($text);
1516 $this->doc .= $this->_pdfString($text);
1536 * @param string $text Text to be escaped.
1539 public function _latexSpecialChars($text) { argument
1540 return helper_plugin_latexit::escape($text);
1594 * @param string $text A header name.
1597 protected function _createLabel($text) { argument
1598 $text = preg_replace('#///ENTITYSTART///(.*?)///ENTITYEND///#si', '$1', $text);
1599 $text = $this->_stripDiacritics($text);
1600 $text = strtolower($text);
1601 $text = str_replace(" ", "_", $text);
1602 $text = $this->_removeMathAndSymbols($text);
1603 return $text;
1741 * @param string $text
1744 protected function _pdfString($text) { argument
1745 $text = $this->_stripDiacritics($this->_latexSpecialChars($text));
1746 $text = $this->_removeMathAndSymbols($text);
1747 return $text;
1752 * @param string $text
1755 protected function _removeMathAndSymbols($text) { argument
1756 $text = preg_replace("#\$(.*)\$#", "", $text);
1759 $text = preg_replace("/[^a-zA-Z0-9_ ]+/", "", $text);
1760 return $text;