| [ Index ] |
|
Code source de XOOPS 2.0.17.1 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 575 lignes (18 kb) |
| Inclus ou requis: | 2 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
MyTextSanitizer:: (35 méthodes):
MyTextSanitizer()
getInstance()
getSmileys()
smiley()
makeClickable()
xoopsCodeDecode()
nl2Br()
addSlashes()
stripSlashesGPC()
htmlSpecialChars()
undoHtmlSpecialChars()
displayTarea()
previewTarea()
censorString()
codePreConv()
codeConv()
codeSanitizer()
sanitizeForDisplay()
sanitizeForPreview()
makeTboxData4Save()
makeTboxData4Show()
makeTboxData4Edit()
makeTboxData4Preview()
makeTboxData4PreviewInForm()
makeTareaData4Save()
makeTareaData4Show()
makeTareaData4Edit()
makeTareaData4Preview()
makeTareaData4PreviewInForm()
makeTareaData4InsideQuotes()
oopsStripSlashesGPC()
oopsStripSlashesRT()
oopsAddSlashes()
oopsHtmlSpecialChars()
oopsNl2Br()
Classe: MyTextSanitizer - X-Ref
Class to "clean up" text for various uses| MyTextSanitizer() X-Ref |
| Pas de description |
| getInstance() X-Ref |
| Access the only instance of this class return: object |
| getSmileys() X-Ref |
| Get the smileys return: array |
| smiley($message) X-Ref |
| Replace emoticons in the message with smiley images param: string $message return: string |
| makeClickable(&$text) X-Ref |
| Make links in the text clickable param: string $text return: string |
| xoopsCodeDecode(&$text, $allowimage = 1) X-Ref |
| Replace XoopsCodes with their equivalent HTML formatting param: string $text param: bool $allowimage Allow images in the text? return: string |
| nl2Br($text) X-Ref |
| Convert linebreaks to <br /> tags param: string $text return: string |
| addSlashes($text) X-Ref |
| Add slashes to the text if magic_quotes_gpc is turned off. param: string $text return: string |
| stripSlashesGPC($text) X-Ref |
| Pas de description |
| htmlSpecialChars($text) X-Ref |
| Pas de description |
| undoHtmlSpecialChars( $text ) X-Ref |
| Reverses {@link htmlSpecialChars()} param: string $text return: string |
| displayTarea( $text, $html = 0, $smiley = 1, $xcode = 1, $image = 1, $br = 1) X-Ref |
| Filters textarea form data in DB for display param: string $text param: bool $html allow html? param: bool $smiley allow smileys? param: bool $xcode allow xoopscode? param: bool $image allow inline images? param: bool $br convert linebreaks? return: string |
| previewTarea( $text, $html = 0, $smiley = 1, $xcode = 1, $image = 1, $br = 1) X-Ref |
| Filters textarea form data submitted for preview param: string $text param: bool $html allow html? param: bool $smiley allow smileys? param: bool $xcode allow xoopscode? param: bool $image allow inline images? param: bool $br convert linebreaks? return: string |
| censorString(&$text) X-Ref |
| Replaces banned words in a string with their replacements param: string $text return: string |
| codePreConv($text, $xcode = 1) X-Ref |
| Pas de description |
| codeConv($text, $xcode = 1, $image = 1) X-Ref |
| Pas de description |
| codeSanitizer($str, $image = 1) X-Ref |
| Pas de description |
| sanitizeForDisplay($text, $allowhtml = 0, $smiley = 1, $bbcode = 1) X-Ref |
| Pas de description |
| sanitizeForPreview($text, $allowhtml = 0, $smiley = 1, $bbcode = 1) X-Ref |
| Pas de description |
| makeTboxData4Save($text) X-Ref |
| Pas de description |
| makeTboxData4Show($text, $smiley=0) X-Ref |
| Pas de description |
| makeTboxData4Edit($text) X-Ref |
| Pas de description |
| makeTboxData4Preview($text, $smiley=0) X-Ref |
| Pas de description |
| makeTboxData4PreviewInForm($text) X-Ref |
| Pas de description |
| makeTareaData4Save($text) X-Ref |
| Pas de description |
| makeTareaData4Show(&$text, $html=1, $smiley=1, $xcode=1) X-Ref |
| Pas de description |
| makeTareaData4Edit($text) X-Ref |
| Pas de description |
| makeTareaData4Preview(&$text, $html=1, $smiley=1, $xcode=1) X-Ref |
| Pas de description |
| makeTareaData4PreviewInForm($text) X-Ref |
| Pas de description |
| makeTareaData4InsideQuotes($text) X-Ref |
| Pas de description |
| oopsStripSlashesGPC($text) X-Ref |
| Pas de description |
| oopsStripSlashesRT($text) X-Ref |
| Pas de description |
| oopsAddSlashes($text) X-Ref |
| Pas de description |
| oopsHtmlSpecialChars($text) X-Ref |
| Pas de description |
| oopsNl2Br($text) X-Ref |
| Pas de description |
| Généré le : Sun Nov 25 11:44:32 2007 | par Balluche grâce à PHPXref 0.7 |
|