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

Public Member Functions

 format_font ()
 
 print_plugin_vars ()
 
 print_plugin_create_select ()
 
 print_plugin_update_toolbar ()
 
 print_plugin_combo_selected ()
 
 print_plugin_shortcuts ()
 
- 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 32 of file format_font.inc.

Member Function Documentation

Constructor Adds a three blank buttons (later to become select boxes)

Returns
object Format_Font public

Definition at line 43 of file format_font.inc.

print_plugin_combo_selected ( )

When the select box option is changed, apply changes to selected HTML

Returns
void public

Definition at line 160 of file format_font.inc.

print_plugin_create_select ( )

Populate the select boxes with the options stored in the WYSIWYGs vars (set ealier)

Returns
void public

Definition at line 102 of file format_font.inc.

print_plugin_shortcuts ( )

Shortcut keys for heading tags (H!, H2 etc)

Returns
void public

Definition at line 183 of file format_font.inc.

print_plugin_update_toolbar ( )

When the toolbar is updated, change the selected option to reflact the selected text

Returns
void public

Definition at line 121 of file format_font.inc.

print_plugin_vars ( )

Set the options for the select boxes as vars of the object

Returns
void public

Definition at line 57 of file format_font.inc.


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