You are here

function rtf::specialCharacters in Bibliography Module 6

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

File

./class_rtf.php, line 276

Class

rtf

Code

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