XOOPS
2.6.0
|
Public Member Functions | |
__construct (MyTextSanitizer &$ts) | |
encode ($value) | |
Static Public Member Functions | |
static | decode ($url, $width, $height) |
static | loadConfig ($path=null) |
static | mergeConfig ($config_default, $config_custom) |
Public Attributes | |
$config | |
$image_path | |
$instance | |
$ts | |
Abstract class for extensions
Definition at line 31 of file module.textsanitizer.php.
MyTextSanitizerExtension::__construct | ( | MyTextSanitizer & | $ts | ) |
Constructor
MyTextSanitizer | $ts |
Definition at line 58 of file module.textsanitizer.php.
References $ts, and XoopsBaseConfig\get().
|
static |
decode
to be implemented by the extending class
string | $url | |
string | $width | |
string | $height |
Definition at line 139 of file module.textsanitizer.php.
MyTextSanitizerExtension::encode | ( | $value | ) |
to be implemented by the extending class
mixed | $value |
Definition at line 123 of file module.textsanitizer.php.
|
static |
loadConfig
string | $path |
Definition at line 70 of file module.textsanitizer.php.
References $path, $ts, DIRECTORY_SEPARATOR, XoopsLoad\fileExists(), and MyTextSanitizer\getInstance().
Referenced by MytsImage\load(), and MyTextSanitizer\loadConfig().
|
static |
Merge Config
array | $config_default | |
array | $config_custom |
Definition at line 102 of file module.textsanitizer.php.
MyTextSanitizerExtension::$config |
Definition at line 46 of file module.textsanitizer.php.
Referenced by MytsWiki\decode(), MytsFlash\decode(), MytsSoundcloud\encode(), MytsFlash\encode(), MytsImage\load(), MytsSyntaxhighlight\load(), MytsTextfilter\load(), MytsCensor\load(), and MytsSoundcloud\myCallback().
MyTextSanitizerExtension::$image_path |
Definition at line 51 of file module.textsanitizer.php.
MyTextSanitizerExtension::$instance |
Definition at line 36 of file module.textsanitizer.php.
MyTextSanitizerExtension::$ts |
Definition at line 41 of file module.textsanitizer.php.
Referenced by __construct(), MytsSoundcloud\load(), and loadConfig().