XOOPS  2.6.0
MytsCensor Class Reference
Inheritance diagram for MytsCensor:
Inheritance graph

Public Member Functions

 load (MyTextSanitizer &$ts, $text, array $paramsConf=null)
 
- Public Member Functions inherited from MyTextSanitizerExtension
 __construct (MyTextSanitizer &$ts)
 
 encode ($value)
 

Additional Inherited Members

- Static Public Member Functions inherited from MyTextSanitizerExtension
static decode ($url, $width, $height)
 
static loadConfig ($path=null)
 
static mergeConfig ($config_default, $config_custom)
 
- 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 31 of file censor.php.

Member Function Documentation

MytsCensor::load ( MyTextSanitizer $ts,
  $text,
array  $paramsConf = null 
)
Parameters
MyTextSanitizer$ts
$text
Returns
mixed|string

Definition at line 38 of file censor.php.

References MyTextSanitizerExtension\$config, $text, $xoops, and Xoops\getInstance().

Here is the call graph for this function:


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