XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
textsanitizer Class Reference

Public Member Functions

makeClickable (&$text)
 
nl2Br ( $text)
 
addSlashes ( $text, $force=false)
 
stripSlashesGPC ( $text)
 
htmlSpecialChars ( $text)
 
undoHtmlSpecialChars (&$text)
 
displayText ( $text, $html=false)
 
previewText ( $text, $html=false)
 
 sanitizeForDisplay ( $text, $allowhtml=0, $smiley=1, $bbcode=1)
 
 sanitizeForPreview ( $text, $allowhtml=0, $smiley=1, $bbcode=1)
 
 makeTboxData4Save ( $text)
 
 makeTboxData4Show ( $text, $smiley=0)
 
 makeTboxData4Edit ( $text)
 
 makeTboxData4Preview ( $text, $smiley=0)
 
 makeTboxData4PreviewInForm ( $text)
 
 makeTareaData4Save ( $text)
 
makeTareaData4Show (&$text, $html=1, $smiley=1, $xcode=1)
 
 makeTareaData4Edit ( $text)
 
makeTareaData4Preview (&$text, $html=1, $smiley=1, $xcode=1)
 
 makeTareaData4PreviewInForm ( $text)
 
 makeTareaData4InsideQuotes ( $text)
 
oopsStripSlashesGPC ( $text)
 
oopsStripSlashesRT ( $text)
 
oopsAddSlashes ( $text)
 
oopsHtmlSpecialChars ( $text)
 
oopsNl2Br ( $text)
 

Static Public Member Functions

static getInstance ()
 

Detailed Description

Definition at line 16 of file textsanitizer.php.

Member Function Documentation

◆ addSlashes()

& addSlashes ( $text,
$force = false )

Definition at line 66 of file textsanitizer.php.

◆ displayText()

& displayText ( $text,
$html = false )

Definition at line 121 of file textsanitizer.php.

◆ getInstance()

static getInstance ( )
static

Definition at line 25 of file textsanitizer.php.

◆ htmlSpecialChars()

& htmlSpecialChars ( $text)

Definition at line 96 of file textsanitizer.php.

◆ makeClickable()

& makeClickable ( & $text)

Definition at line 34 of file textsanitizer.php.

◆ makeTareaData4Edit()

makeTareaData4Edit ( $text)

Definition at line 206 of file textsanitizer.php.

◆ makeTareaData4InsideQuotes()

makeTareaData4InsideQuotes ( $text)

Definition at line 218 of file textsanitizer.php.

◆ makeTareaData4Preview()

& makeTareaData4Preview ( & $text,
$html = 1,
$smiley = 1,
$xcode = 1 )

Definition at line 210 of file textsanitizer.php.

◆ makeTareaData4PreviewInForm()

makeTareaData4PreviewInForm ( $text)

Definition at line 214 of file textsanitizer.php.

◆ makeTareaData4Save()

makeTareaData4Save ( $text)

Definition at line 198 of file textsanitizer.php.

◆ makeTareaData4Show()

& makeTareaData4Show ( & $text,
$html = 1,
$smiley = 1,
$xcode = 1 )

Definition at line 202 of file textsanitizer.php.

◆ makeTboxData4Edit()

makeTboxData4Edit ( $text)

Definition at line 181 of file textsanitizer.php.

◆ makeTboxData4Preview()

makeTboxData4Preview ( $text,
$smiley = 0 )

Definition at line 185 of file textsanitizer.php.

◆ makeTboxData4PreviewInForm()

makeTboxData4PreviewInForm ( $text)

Definition at line 192 of file textsanitizer.php.

◆ makeTboxData4Save()

makeTboxData4Save ( $text)

Definition at line 170 of file textsanitizer.php.

◆ makeTboxData4Show()

makeTboxData4Show ( $text,
$smiley = 0 )

Definition at line 175 of file textsanitizer.php.

◆ nl2Br()

& nl2Br ( $text)

Definition at line 55 of file textsanitizer.php.

◆ oopsAddSlashes()

& oopsAddSlashes ( $text)

Definition at line 231 of file textsanitizer.php.

◆ oopsHtmlSpecialChars()

& oopsHtmlSpecialChars ( $text)

Definition at line 235 of file textsanitizer.php.

◆ oopsNl2Br()

& oopsNl2Br ( $text)

Definition at line 239 of file textsanitizer.php.

◆ oopsStripSlashesGPC()

& oopsStripSlashesGPC ( $text)

Definition at line 222 of file textsanitizer.php.

◆ oopsStripSlashesRT()

& oopsStripSlashesRT ( $text)

Definition at line 226 of file textsanitizer.php.

◆ previewText()

& previewText ( $text,
$html = false )

Definition at line 135 of file textsanitizer.php.

◆ sanitizeForDisplay()

sanitizeForDisplay ( $text,
$allowhtml = 0,
$smiley = 1,
$bbcode = 1 )

Definition at line 143 of file textsanitizer.php.

◆ sanitizeForPreview()

sanitizeForPreview ( $text,
$allowhtml = 0,
$smiley = 1,
$bbcode = 1 )

Definition at line 156 of file textsanitizer.php.

◆ stripSlashesGPC()

& stripSlashesGPC ( $text)

Definition at line 88 of file textsanitizer.php.

◆ undoHtmlSpecialChars()

& undoHtmlSpecialChars ( & $text)

Definition at line 107 of file textsanitizer.php.


The documentation for this class was generated from the following file: