|
Located in File: Program_Root/class/module.textsanitizer.php
Singleton
(c) 2000-2003 The Xoops Project - www.xoops.orgGoghs ChengKazumi Ono <onokazu@xoops.org>
$censorConf Default Value:
|
$smileys Default Value:
|
| void | MyTextSanitizer( ) |
[ Top ]
| string | &addSlashes( string $text) |
- string $text: [ Top ]
| string | &censorString( mixed &$text, string $text) |
- string $text: [ Top ]
| string | &displayTarea( mixed &$text, bool $html, [bool $smiley = 1], [bool $xcode = 1], [bool $image = 1], [bool $br = 1], string $text) |
- string $text: - bool $html: allow html?- bool $smiley: allow smileys?- bool $xcode: allow xoopscode?- bool $image: allow inline images?- bool $br: convert linebreaks?[ Top ]
| object | &getInstance( ) |
object $instance: [ Top ]
| array | getSmileys( ) |
[ Top ]
| void | &htmlSpecialChars( mixed $text) |
[ Top ]
| string | &makeClickable( mixed &$text, string $text) |
- string $text: [ Top ]
| void | makeTareaData4Edit( mixed $text) |
[ Top ]
| void | makeTareaData4InsideQuotes( mixed $text) |
[ Top ]
| void | &makeTareaData4Preview( mixed &$text, [mixed $html = 1], [mixed $smiley = 1], [mixed $xcode = 1]) |
[ Top ]
| void | makeTareaData4PreviewInForm( mixed $text) |
[ Top ]
| void | makeTareaData4Save( mixed $text) |
[ Top ]
| void | &makeTareaData4Show( mixed &$text, [mixed $html = 1], [mixed $smiley = 1], [mixed $xcode = 1]) |
[ Top ]
| void | makeTboxData4Edit( mixed $text) |
[ Top ]
| void | makeTboxData4Preview( mixed $text, mixed $smiley) |
[ Top ]
| void | makeTboxData4PreviewInForm( mixed $text) |
[ Top ]
| void | makeTboxData4Save( mixed $text) |
[ Top ]
| void | makeTboxData4Show( mixed $text, mixed $smiley) |
[ Top ]
| string | &nl2Br( string $text) |
- string $text: [ Top ]
| void | &oopsAddSlashes( mixed $text) |
[ Top ]
| void | &oopsHtmlSpecialChars( mixed $text) |
[ Top ]
| void | &oopsNl2Br( mixed $text) |
[ Top ]
| void | &oopsStripSlashesGPC( mixed $text) |
[ Top ]
| void | &oopsStripSlashesRT( mixed $text) |
[ Top ]
| string | &previewTarea( mixed &$text, bool $html, [bool $smiley = 1], [bool $xcode = 1], [bool $image = 1], [bool $br = 1], string $text) |
- string $text: - bool $html: allow html?- bool $smiley: allow smileys?- bool $xcode: allow xoopscode?- bool $image: allow inline images?- bool $br: convert linebreaks?[ Top ]
| void | sanitizeForDisplay( mixed $text, mixed $allowhtml, [mixed $smiley = 1], [mixed $bbcode = 1]) |
[ Top ]
| void | sanitizeForPreview( mixed $text, mixed $allowhtml, [mixed $smiley = 1], [mixed $bbcode = 1]) |
[ Top ]
| string | &smiley( string $message) |
- string $message: [ Top ]
| void | &stripSlashesGPC( mixed $text) |
[ Top ]
| string | &undoHtmlSpecialChars( mixed &$text, string $text) |
- string $text: [ Top ]
| string | &xoopsCodeDecode( mixed &$text, [bool $allowimage = 1], string $text) |
- string $text: - bool $allowimage: Allow images in the text? On FALSE, uses links to images.[ Top ]