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

Public Member Functions

 insert_link ()
 
 print_plugin_button_click ()
 
 print_plugin_exec_command ()
 
- 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 33 of file insert_link.inc.

Member Function Documentation

Constructor Adds the insert and remove link buttons to this plugin

Returns
object Insert_Link public

Definition at line 43 of file insert_link.inc.

print_plugin_button_click ( )

Call the internal _execCommand function when the create button is clicked The unlink functonality is supported nativly by all supported browsers

Returns
void public

Definition at line 57 of file insert_link.inc.

print_plugin_exec_command ( )

Create the link a URL entered by the user IE has its own linking interface, while we use a JS prompt for Mozilla

Returns
void public

Definition at line 74 of file insert_link.inc.


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