/**
  * Breaks up a single line of text for emails
  *
  * @param string $str The string to break up
  * @param string $newlineChar The string to implode the broken lines with (default/typically \n)
  * @param integer $lineWidth The line width
  * @return string reformatted text
  * @deprecated since TYPO3 4.6, will be removed in TYPO3 6.0 - Use t3lib_utility_Mail::breakLinesForEmail()
  */
 public static function breakLinesForEmail($str, $newlineChar = LF, $lineWidth = 76)
 {
     return t3lib_utility_Mail::breakLinesForEmail($str, $newlineChar, $lineWidth);
 }
Exemplo n.º 2
0
 /**
  * Breaks up a single line of text for emails
  *
  * @param string $str The string to break up
  * @param string $newlineChar The string to implode the broken lines with (default/typically \n)
  * @param integer $lineWidth The line width
  * @return string reformatted text
  * @deprecated since TYPO3 4.6, will be removed in TYPO3 4.8 - Use t3lib_utility_Mail::breakLinesForEmail()
  */
 public static function breakLinesForEmail($str, $newlineChar = LF, $lineWidth = 76)
 {
     self::logDeprecatedFunction();
     return t3lib_utility_Mail::breakLinesForEmail($str, $newlineChar, $lineWidth);
 }