Class MyTextSanitizer
Class to "clean up" text for various uses
Singleton
Package: kernel\core
Copyright: (c) 2000-2003 The Xoops Project - www.xoops.org
Author: Kazumi Ono <onokazu@xoops.org>
Author: Goghs Cheng
Located at html/class/module.textsanitizer.php
Copyright: (c) 2000-2003 The Xoops Project - www.xoops.org
Author: Kazumi Ono <onokazu@xoops.org>
Author: Goghs Cheng
Located at html/class/module.textsanitizer.php
public
|
|
public
object
&
|
|
public
array
|
|
public
string
&
|
|
public
string
&
|
|
public
string
&
|
#
xoopsCodeDecode( string $text, boolean $allowimage = 1 )
Replace XoopsCodes with their equivalent HTML formatting |
public
string
|
|
public
boolean
|
|
public
string
&
|
|
public
string
&
|
|
public
&
|
|
public
&
|
|
public
string
|
#
_ToShowTarea( string $text, boolean $html = 0, boolean $smiley = 1, boolean $xcode = 1, boolean $image = 1, boolean $br = 1 )
Filters textarea data for display (This method makes overhead but needed for compatibility) |
public
string
&
|
#
displayTarea( string $text, boolean $html = 0, boolean $smiley = 1, boolean $xcode = 1, boolean $image = 1, boolean $br = 1 )
Filters textarea form data in DB for display |
public
string
&
|
#
previewTarea( string $text, boolean $html = 0, boolean $smiley = 1, boolean $xcode = 1, boolean $image = 1, boolean $br = 1 )
Filters textarea form data submitted for preview |
public
|
|
public
|
public
|
$censorConf |
|
|
public
|
$mTextFilter | null |