XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
MytsCensor Class Reference
Inheritance diagram for MytsCensor:
Inheritance graph

Public Member Functions

 load (&$ts, $text)
 
- Public Member Functions inherited from MyTextSanitizerExtension
 __construct (&$ts)
 
 decode ()
 
 encode ()
 
 loadConfig ($path=null)
 
 mergeConfig ($config_default, $config_custom)
 
 MyTextSanitizerExtension (&$ts)
 

Additional Inherited Members

- Public Attributes inherited from MyTextSanitizerExtension
 $config
 
 $image_path
 
 $instance
 
 $ts
 

Detailed Description

Replaces banned words in a string with their replacements or terminate current request

Parameters
string$text
Returns
string

Definition at line 29 of file censor.php.

Member Function Documentation

MytsCensor::load ( $ts,
  $text 
)

Definition at line 31 of file censor.php.

References $config, $config_handler, $GLOBALS, XOOPS_CONF_CENSOR, and xoops_gethandler().

Here is the call graph for this function:


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