17
OK, so based on the WIKI article, this is current:
Xoops 2.4.5
These methods are valid:
smiley()
makeClickable()
xoopsCodeDecode()
nl2Br()
addSlashes()
htmlSpecialChars()
undoHtmlSpecialChars()
displayTarea()
previewTarea()
These methods are deprecated. The replacement is shown:
makeTboxData4Save()
makeTareaData4Save()
Use instead: addSlashes()
makeTboxData4Show()
makeTboxData4Edit()
makeTareaData4InsideQuotes()
makeTareaData4Edit()
Use instead: htmlSpecialChars();
makeTareaData4Show()
Use instead: displayTarea();
makeTareaData4Preview()
Use instead: previewTarea();
makeTboxData4Preview()
makeTboxData4PreviewInForm()
makeTareaData4PreviewInForm()
use instead: htmlSpecialChars() combined with stripSlashesGPC()
Example usage:
$ts->htmlSpecialChars($ts->stripSlashesGPC($text));
That just leaves:
* MyTextSanitizer::codeSanitizer()
* MyTextSanitizer::sanitizeForDisplay()
* MyTextSanitizer::sanitizeForPreview()
* MyTextSanitizer::oopsStripSlashesGPC()
* MyTextSanitizer::oopsStripSlashesRT()
* MyTextSanitizer::oopsAddSlashes()
* MyTextSanitizer::oopsNl2Br()
If someone can provide replacements for those, then it's QED!
A thread is for life. Not just for Christmas.