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

Public Member Functions

 __construct (&$ts)
 
 decode ()
 
 encode ()
 
 loadConfig ($path=null)
 
 mergeConfig ($config_default, $config_custom)
 
 MyTextSanitizerExtension (&$ts)
 

Public Attributes

 $config
 
 $image_path
 
 $instance
 
 $ts
 

Detailed Description

Abstract class for extensions

Author
Taiwen Jiang phppp.nosp@m.@use.nosp@m.rs.so.nosp@m.urce.nosp@m.forge.nosp@m..net

Definition at line 28 of file module.textsanitizer.php.

Constructor & Destructor Documentation

MyTextSanitizerExtension::__construct ( $ts)

Constructor

Parameters
unknown_type$ts

Definition at line 40 of file module.textsanitizer.php.

References $ts.

Referenced by MyTextSanitizerExtension().

Here is the caller graph for this function:

Member Function Documentation

MyTextSanitizerExtension::decode ( )

decode

Returns
Null

Definition at line 124 of file module.textsanitizer.php.

MyTextSanitizerExtension::encode ( )

encode

Returns
array

Definition at line 114 of file module.textsanitizer.php.

MyTextSanitizerExtension::loadConfig (   $path = null)

loadConfig

Parameters
string$path
Returns
string

Definition at line 63 of file module.textsanitizer.php.

References $path, $ts, DIRECTORY_SEPARATOR, MyTextSanitizer\getInstance(), and mergeConfig().

Referenced by MyTextSanitizer\loadConfig().

Here is the call graph for this function:

Here is the caller graph for this function:

MyTextSanitizerExtension::mergeConfig (   $config_default,
  $config_custom 
)

Merge Config

Parameters
array$config_default
array$config_custom
Returns
array

Definition at line 95 of file module.textsanitizer.php.

Referenced by loadConfig().

Here is the caller graph for this function:

MyTextSanitizerExtension::MyTextSanitizerExtension ( $ts)

MyTextSanitizerExtension

Parameters
object$ts
Returns
MyTextSanitizerExtension

Definition at line 52 of file module.textsanitizer.php.

References $ts, and __construct().

Here is the call graph for this function:

Member Data Documentation

MyTextSanitizerExtension::$config

Definition at line 32 of file module.textsanitizer.php.

Referenced by MytsYoutube\encode().

MyTextSanitizerExtension::$image_path

Definition at line 33 of file module.textsanitizer.php.

MyTextSanitizerExtension::$instance

Definition at line 30 of file module.textsanitizer.php.

MyTextSanitizerExtension::$ts

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