Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
matrix_embed_youtube Class Reference
Inheritance diagram for matrix_embed_youtube:
wysiwyg_plugin

Public Member Functions

 matrix_embed_youtube (&$wysiwyg)
 
 paint_generic ()
 
 print_plugin_button_click ()
 
 process (&$html)
 
 set_contents (&$contents)
 
- Public Member Functions inherited from wysiwyg_plugin
 WYSIWYG_Plugin (&$wysiwyg)
 
 _add_button ($id, $cmd, $tooltip, $textmode, $position, $context='')
 
 _open_menu ($id, $tooltip, $textmode, $position, $context='')
 
 _close_menu ($id)
 
 print_plugin_vars ()
 
 print_plugin_shortcuts ()
 
 print_plugin_create_select ()
 
 paint ()
 
 process (&$html)
 
 set_contents (&$contents)
 
 paint_generic ()
 
 print_plugin_button_click ()
 
 print_plugin_combo_selected ()
 
 print_plugin_exec_command ()
 
 print_plugin_update_toolbar ()
 
 print_plugin_button_type ()
 
 print_plugin_get_html ()
 
 print_plugin_pre_get_html ()
 
 print_plugin_form_submit ()
 
 print_plugin_event_handler ()
 
 get_popup_href ($filename, $classname='')
 

Data Fields

 $_img_url = ''
 
- Data Fields inherited from wysiwyg_plugin
 $buttons = Array()
 
 $_show_in_toolbar = TRUE
 
 $wysiwyg = NULL
 

Additional Inherited Members

- Static Public Member Functions inherited from wysiwyg_plugin
static check_usable ()
 

Detailed Description

Definition at line 32 of file matrix_embed_youtube.inc.

Member Function Documentation

matrix_embed_youtube ( $wysiwyg)

Constructor Adds the insert image button to this plugin

public

Definition at line 44 of file matrix_embed_youtube.inc.

paint_generic ( )

Prints a generic embed movie function that can be used by any editor

Returns
void public

Definition at line 59 of file matrix_embed_youtube.inc.

print_plugin_button_click ( )

Call the embed movie function when the button is clicked

Returns
void public

Definition at line 191 of file matrix_embed_youtube.inc.

process ( $html)

Replaces plugin specific HTML that was generated with proper HTML for emebedding

Parameters
string&html the HTML that was submitted by the editor
Returns
string public

Definition at line 211 of file matrix_embed_youtube.inc.

set_contents ( $contents)

Sets the initial contents of the WYSIWYG editor

Parameters
string&$contentsSome HTML content
Returns
void public

Definition at line 395 of file matrix_embed_youtube.inc.


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