You are here

public function rtf::addText in Bibliography Module 7

Same name and namespace in other branches
  1. 6.2 modules/rtf/rtf_export.inc \rtf::addText()
  2. 6 class_rtf.php \rtf::addText()
  3. 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

rtf

Code

public function addText($text) {
  $text = str_replace("\n", "", $text);
  $text = str_replace("\t", "", $text);
  $text = str_replace("\r", "", $text);
  $this->document .= $text;
}