Class MyTextSanitizer
Class to "clean up" text for various uses
Singleton
Direct known subclasses
MyTextSanitizerExtended
		
		
		
		Package: kernel\core
Copyright: (c) 2000-2016 XOOPS Project - www.xoops.org
License: GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Kazumi Ono onokazu@xoops.org
Author: Taiwen Jiang phppp@users.sourceforge.net
Author: Goghs Cheng
Located at lass/module.textsanitizer.php
	
	Copyright: (c) 2000-2016 XOOPS Project - www.xoops.org
License: GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Kazumi Ono onokazu@xoops.org
Author: Taiwen Jiang phppp@users.sourceforge.net
Author: Goghs Cheng
Located at lass/module.textsanitizer.php
			 public 
			
			
			
		 | 
		|
			 public 
			array
			
			
		 | 
		|
			 public 
			unknown
			
			
		 | 
		|
			 public static
			object
			
			
		 | 
		|
			 public 
			array
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			mixed|string
			
			
		 | 
		|
			 public 
			string
			&
			
		 | 
		
		#
		 xoopsCodeDecode( string & $text, boolean|integer $allowimage = 1 )
		Replace XoopsCodes with their equivalent HTML formatting  | 
	
			 public 
			string
			
			
		 | 
		|
			 public 
			mixed
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		
		#
		 htmlSpecialChars( string $text, integer $quote_style = ENT_QUOTES, string $charset = null, boolean $double_encode = true )
		Convert special characters to HTML entities  | 
	
			 public 
			string
			
			
		 | 
		|
			 public 
			string
			&
			
		 | 
		
		#
		 displayTarea( string $text, boolean|integer $html = 0, boolean|integer $smiley = 1, boolean|integer $xcode = 1, boolean|integer $image = 1, boolean|integer $br = 1 )
		Filters textarea form data in DB for display  | 
	
			 public 
			string
			&
			
		 | 
		
		#
		 previewTarea( string $text, boolean|integer $html = 0, boolean|integer $smiley = 1, boolean|integer $xcode = 1, boolean|integer $image = 1, boolean|integer $br = 1 )
		Filters textarea form data submitted for preview  | 
	
			 public 
			string
			&
			
		 | 
		|
			 public 
			mixed
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			mixed
			
			
		 | 
		|
			 public 
			boolean
			
			
		 | 
		|
			 public 
			boolean|null
			
			
		 | 
		|
			 public 
			mixed
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		
		#
		 textFilter( string $text, boolean $force = false )
		Filter out possible malicious text kses project at SF could be a good solution to check  | 
	
			 public 
			mixed|string
			
			
		 | 
		|
			 public 
			mixed|string
			
			
		 | 
		
		#
		 sanitizeForDisplay( mixed $text, integer $allowhtml = 0, integer $smiley = 1, mixed $bbcode = 1 )
		MyTextSanitizer::sanitizeForDisplay()  | 
	
			 public 
			mixed|string
			
			
		 | 
		
		#
		 sanitizeForPreview( mixed $text, integer $allowhtml = 0, integer $smiley = 1, mixed $bbcode = 1 )
		MyTextSanitizer::sanitizeForPreview()  | 
	
			 public 
			string
			
			
		 | 
		|
			 public 
			mixed|string
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			mixed|string
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			mixed|string
			&
			
		 | 
		
		#
		 makeTareaData4Show( mixed & $text, integer $html = 1, integer $smiley = 1, mixed $xcode = 1 )
		MyTextSanitizer::makeTareaData4Show()  | 
	
			 public 
			string
			
			
		 | 
		|
			 public 
			mixed|string
			&
			
		 | 
		
		#
		 makeTareaData4Preview( mixed & $text, integer $html = 1, integer $smiley = 1, mixed $xcode = 1 )
		MyTextSanitizer::makeTareaData4Preview()  | 
	
			 public 
			string
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			mixed|string
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		
			public  
			array
		 | 
		
				$smileys
			 | 
		
			 
				#
				 
		array()
			 | 
	
			public  
			
		 | 
		
				$censorConf
			 | 
		|
			public  
			holding
		 | 
		
				$text
			 reference to text  | 
		
			 
				#
				 
		''
			 | 
	
			public  
			array
		 | 
		
				$patterns
			 | 
		
			 
				#
				 
		array()
			 | 
	
			public  
			array
		 | 
		
				$replacements
			 | 
		
			 
				#
				 
		array()
			 | 
	
			public  
			array
		 | 
		
				$callbackPatterns
			 | 
		
			 
				#
				 
		array()
			 | 
	
			public  
			array
		 | 
		
				$callbacks
			 | 
		
			 
				#
				 
		array()
			 | 
	
			public  
			
		 | 
		
				$path_basic
			 | 
		|
			public  
			
		 | 
		
				$path_plugin
			 | 
		|
			public  
			
		 | 
		
				$config
			 |