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

Public Member Functions

 matrix_insert_image (&$wysiwyg)
 
 paint_generic ()
 
 print_plugin_button_click ()
 
 process (&$html)
 
- 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='')
 

Additional Inherited Members

- Static Public Member Functions inherited from wysiwyg_plugin
static check_usable ()
 
- Data Fields inherited from wysiwyg_plugin
 $buttons = Array()
 
 $_show_in_toolbar = TRUE
 
 $wysiwyg = NULL
 

Detailed Description

Definition at line 34 of file matrix_insert_image.inc.

Member Function Documentation

matrix_insert_image ( $wysiwyg)

Constructor Adds the insert image button to this plugin

public

Definition at line 44 of file matrix_insert_image.inc.

paint_generic ( )

Prints a generic insert image function that can be used by any editor A URL must be entered for the image you want to insert. Alt text must also be entered before the image will be inserted.

Returns
void public

Definition at line 60 of file matrix_insert_image.inc.

print_plugin_button_click ( )

Call the insert image function when the button is clicked

Returns
void public

Definition at line 258 of file matrix_insert_image.inc.

process ( $html)

Processes and returns the submitted HTML from the editor This allows plugins to modify the html as they see fit.

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

Definition at line 279 of file matrix_insert_image.inc.


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