API - XOOPS 2.5.11 Beta 2
By monxoops.fr
MytsTextfilter Class Reference
Inheritance diagram for MytsTextfilter:
Collaboration diagram for MytsTextfilter:

Public Member Functions

 load ($ts, $text, $force=false)
 
- Public Member Functions inherited from MyTextSanitizerExtension
 __construct (MyTextSanitizer $ts)
 
 encode ($textarea_id)
 

Additional Inherited Members

- Static Public Member Functions inherited from MyTextSanitizerExtension
static loadConfig ($path=null)
 
static mergeConfig ($config_default, $config_custom)
 
static decode ($url, $width, $height)
 
- Data Fields inherited from MyTextSanitizerExtension
 $instance
 
 $ts
 
 $config
 
 $image_path
 

Detailed Description

Filter out possible malicious text kses project at SF could be a good solution to check

Parameters
string$texttext to filter
bool$forceflag indicating to force filtering
Returns
string filtered text

Member Function Documentation

◆ load()

load (   $ts,
  $text,
  $force = false 
)
Parameters
$ts
$text
bool$force
Returns
mixed
Here is the call graph for this function:

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