You are here

function rtf::specialCharacters in Bibliography Module 7.2

Same name and namespace in other branches
  1. 6.2 modules/rtf/rtf_export.inc \rtf::specialCharacters()
  2. 6 class_rtf.php \rtf::specialCharacters()
  3. 7 modules/rtf/rtf_export.inc \rtf::specialCharacters()
1 call to rtf::specialCharacters()
rtf::parseDocument in modules/rtf/rtf_export.inc

File

modules/rtf/rtf_export.inc, line 275

Class

rtf

Code

function specialCharacters($text) {
  $text_buffer = "";
  for ($i = 0; $i < strlen($text); $i++) {
    $text_buffer .= $this
      ->escapeCharacter($text[$i]);
  }
  return $text_buffer;
}