public function rtf::addText in Bibliography Module 7
Same name and namespace in other branches
- 6.2 modules/rtf/rtf_export.inc \rtf::addText()
- 6 class_rtf.php \rtf::addText()
- 7.2 modules/rtf/rtf_export.inc \rtf::addText()
Add a text string to the document buffer.
File
- modules/
rtf/ rtf_export.inc, line 223
Class
Code
public function addText($text) {
$text = str_replace("\n", "", $text);
$text = str_replace("\t", "", $text);
$text = str_replace("\r", "", $text);
$this->document .= $text;
}