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

Public Member Functions

 geshi ($source, $language)
 
 load (MyTextSanitizer &$ts, $source, $language)
 
 php ($text)
 
- 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

Definition at line 24 of file syntaxhighlight.php.

Member Function Documentation

MytsSyntaxhighlight::geshi (   $source,
  $language 
)
Parameters
string$source
string$language
Returns
bool

Definition at line 105 of file syntaxhighlight.php.

References $code, $language, Xoops_Locale_Abstract\getCharset(), and XoopsLoad\load().

Referenced by load().

Here is the call graph for this function:

Here is the caller graph for this function:

MytsSyntaxhighlight::load ( MyTextSanitizer $ts,
  $source,
  $language 
)
Parameters
MyTextSanitizer$ts
string$source
string$language
Returns
bool|mixed|string

Definition at line 32 of file syntaxhighlight.php.

References MyTextSanitizerExtension\$config, $language, geshi(), php(), and MyTextSanitizer\undoHtmlSpecialChars().

Here is the call graph for this function:

MytsSyntaxhighlight::php (   $text)
Parameters
string$text
Returns
string

Definition at line 56 of file syntaxhighlight.php.

References $text.

Referenced by load().

Here is the caller graph for this function:


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