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

Public Member Functions

 encode ($textarea_id)
 
 load (MyTextSanitizer &$ts)
 
- Public Member Functions inherited from MyTextSanitizerExtension
 __construct (MyTextSanitizer &$ts)
 
 encode ($value)
 

Static Public Member Functions

static decode ($url, $width, $height)
 
static myCallback ($match)
 
- Static Public Member Functions inherited from MyTextSanitizerExtension
static decode ($url, $width, $height)
 
static loadConfig ($path=null)
 
static mergeConfig ($config_default, $config_custom)
 

Additional Inherited Members

- Public Attributes inherited from MyTextSanitizerExtension
 $config
 
 $image_path
 
 $instance
 
 $ts
 

Detailed Description

Definition at line 24 of file youtube.php.

Member Function Documentation

static MytsYoutube::decode (   $url,
  $width,
  $height 
)
static
Parameters
string$url
string$width
string$height
Returns
string

Definition at line 82 of file youtube.php.

References $code, $height, $url, and $width.

MytsYoutube::encode (   $textarea_id)
Parameters
int$textarea_id
Returns
string[]

Definition at line 30 of file youtube.php.

References $code, $javascript, XoopsLocaleEn_US\HEIGHT, XoopsLocaleEn_US\WIDTH, XoopsLocaleEn_US\YOUTUBE, and XoopsLocaleEn_US\YOUTUBE_URL.

MytsYoutube::load ( MyTextSanitizer $ts)
Parameters
MyTextSanitizer$ts
Returns
void

Definition at line 64 of file youtube.php.

static MytsYoutube::myCallback (   $match)
static

Definition at line 56 of file youtube.php.


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