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

Public Member Functions

 load (&$ts, $text, $force=false)
 
- 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

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

Definition at line 30 of file textfilter.php.

Member Function Documentation

MytsTextfilter::load ( $ts,
  $text,
  $force = false 
)

Definition at line 32 of file textfilter.php.

References $config, $xoopsConfig, $xoopsUser, $xoopsUserIsAdmin, and xoops_load().

Here is the call graph for this function:


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