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

Public Member Functions

 Matrix_Apply_Style (&$wysiwyg)
 
 print_plugin_vars ()
 
 print_plugin_create_select ()
 
 print_plugin_update_toolbar ()
 
 print_plugin_combo_selected ()
 
 process (&$html)
 
 getDesignClasses ()
 

Data Fields

 $_css_classes = Array()
 

Detailed Description

Definition at line 33 of file matrix_apply_style.inc.

Member Function Documentation

getDesignClasses ( )

Gets current classes from applied design

Returns
Array() public

Definition at line 473 of file matrix_apply_style.inc.

Matrix_Apply_Style ( $wysiwyg)

Constructor

public

Definition at line 49 of file matrix_apply_style.inc.

print_plugin_combo_selected ( )

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

Returns
void public

Definition at line 229 of file matrix_apply_style.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 151 of file matrix_apply_style.inc.

print_plugin_update_toolbar ( )

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

Returns
void public

Definition at line 170 of file matrix_apply_style.inc.

print_plugin_vars ( )

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

Returns
void public

Definition at line 113 of file matrix_apply_style.inc.

process ( $html)

Removes all applied styles that are blank

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

Definition at line 459 of file matrix_apply_style.inc.


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