Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • osian/sucs-site
  • kais58/sucs-site
  • imranh/sucs-site
  • foshjedi2004/sucs-site
  • gigosaurus/sucs-site
  • matstn/sucs-site
  • ripp_/sucs-site
  • eggnog/sucs-site
  • sucssite/sucs-site
  • elbows/sucs-site
  • realitykiller/sucs-site
  • crox/sucs-site
  • vectre/sucs-site
  • welshbyte/sucs-site
  • paperclipman/sucs-site
15 results
Show changes
Showing
with 0 additions and 14870 deletions
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Plugin: zoom</title>
<link href="css/screen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="header">
<h1>Plugin: zoom</h1>
</div>
<div class="content">
<p>Adds a zoom drop list in MSIE5.5+, this plugin was mostly created to show how to add custom droplists as plugins.</p>
<h3>Installation Instructions</h3>
<p>
<ul>
<li>Add plugin to TinyMCE plugin option list example: plugins : &quot;zoom&quot;.</li>
<li>Add the ltr, rtl button names to button list, example: theme_advanced_buttons3_add : &quot;zoom&quot;.</li>
</ul>
</p>
<h3>Initialization Example</h3>
<p>
<div class="example">
<pre>
tinyMCE.init({
theme : &quot;advanced&quot;,
mode : &quot;textareas&quot;,
plugins : &quot;<strong>zoom</strong>&quot;,
theme_advanced_buttons3_add : &quot;<strong>zoom</strong>&quot;
});</pre>
</div>
</p>
</div>
<div class="footer">
<div class="helpindexlink"><a href="index.html">Index</a></div>
<div class="copyright">Copyright &copy; 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
<br style="clear: both" />
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>List of all buttons/controls available, and their plugin requirements.</title>
<link href="css/screen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="header">
<h1>List of all buttons/controls available, and their plugin requirements.</h1>
</div>
<div class="content">
<p>
This is a list of all the avalible buttons that you can configure, the requirements are also listed as some buttons require you to include the plugin first. Check each plugin for more information, some plugins have seperate configurations. Use the <a href="option_theme_advanced_buttons_n.html">theme_advanced_buttons&lt;1-n&gt;</a>, <a href="option_theme_advanced_buttons_n_add.html">theme_advanced_buttons&lt;1-n&gt;_add</a> or <a href="option_theme_advanced_buttons_n_add_before.html">theme_advanced_buttons&lt;1-n&gt;_add_before</a> options to add new buttons and to disable buttons use the <a href="option_theme_advanced_disable.html">theme_advanced_disable</a> option.
</p>
<div class="separator"></div>
<p>
<h3>Default buttons available in the advanced theme</h3>
bold<br />
italic<br />
underline<br />
strikethrough<br />
justifyleft<br />
justifycenter<br />
justifyright<br />
justifyfull<br />
bullist<br />
numlist<br />
outdent<br />
indent<br />
cut<br />
copy<br />
paste<br />
undo<br />
redo<br />
link<br />
unlink<br />
image<br />
cleanup<br />
help<br />
code<br />
hr<br />
removeformat<br />
formatselect<br />
fontselect<br />
fontsizeselect<br />
styleselect<br />
sub<br />
sup<br />
forecolor<br />
backcolor<br />
charmap<br />
visualaid<br />
anchor<br />
newdocument<br />
separator<br />
</p>
<p>
<h3>Plugins with the button name same as plugin name</h3>
<a href="plugin_save.html">save</a><br />
<a href="plugin_emotions.html">emotions</a><br />
<a href="plugin_flash.html">flash</a><br />
<a href="plugin_iespell.html">iespell</a><br />
<a href="plugin_preview.html">preview</a><br />
<a href="plugin_print.html">print</a><br />
<a href="plugin_zoom.html">zoom</a><br />
<a href="plugin_fullscreen.html">fullscreen</a><br />
<a href="plugin_advhr.html">advhr</a><br />
<a href="plugin_fullpage.html">fullpage</a><br />
<a href="plugin_spellchecker.html">spellchecker</a><br />
<br />
</p>
<p>
<h3>Plugins with custom buttons</h3>
<ul>
<li>advlink</li>
<ul>
<li>Will override the "link" button</li>
</ul>
<li>advimage</li>
<ul>
<li>Will override the "image" button</li>
</ul>
<li><a href="plugin_paste.html">paste</a></li>
<ul>
<li>pastetext</li>
<li>pasteword</li>
<li>selectall</li>
</ul>
<li><a href="plugin_searchreplace.html">searchreplace</a></li>
<ul>
<li>search</li>
<li>replace</li>
</ul>
<li><a href="plugin_insertdatetime.html">insertdatetime</a></li>
<ul>
<li>insertdate</li>
<li>inserttime</li>
</ul>
<li><a href="plugin_table.html">table</a></li>
<ul>
<li>tablecontrols</li>
<li>table</li>
<li>row_props</li>
<li>cell_props</li>
<li>delete_col</li>
<li>delete_row</li>
<li>col_after</li>
<li>col_before</li>
<li>row_after</li>
<li>row_before</li>
<li>row_after</li>
<li>row_before</li>
<li>split_cells</li>
<li>merge_cells</li>
</ul>
<li><a href="plugin_directionality.html">directionality</a></li>
<ul>
<li>ltr</li>
<li>rtl</li>
</ul>
<li><a href="plugin_layer.html">layer</a></li>
<ul>
<li>moveforward</li>
<li>movebackward</li>
<li>absolute</li>
<li>insertlayer</li>
</ul>
<li><a href="plugin_style.html">style</a></li>
<ul>
<li>styleprops</li>
</ul>
</ul>
</p>
</div>
<div class="footer">
<div class="helpindexlink"><a href="index.html">Index</a></div>
<div class="copyright">Copyright &copy; 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
<br style="clear: both" />
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Configuration reference</title>
<link href="css/screen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="header">
<h1>Configuration reference</h1>
</div>
<div class="content">
<p>This document is the index/reference page for all available core configuration options in TinyMCE.</p>
<div class="separator"></div>
<h2>Configuration options</h2>
<div class="section">
<p>All configuration options below is to be placed within the init JavaScript call.<br /><br />
<div class="column">
<h3>General</h3>
<ul class="optionlist">
<li><a href="option_mode.html">mode</a></li>
<li><a href="option_theme.html">theme</a></li>
<li><a href="option_plugins.html">plugins</a></li>
<li><a href="option_language.html">language</a></li>
<li><a href="option_ask.html">ask</a></li>
<li><a href="option_textarea_trigger.html">textarea_trigger</a></li>
<li><a href="option_editor_selector.html">editor_selector</a></li>
<li><a href="option_editor_deselector.html">editor_deselector</a></li>
<li><a href="option_elements.html">elements</a></li>
<li><a href="option_docs_language.html">docs_language</a></li>
<li><a href="option_debug.html">debug</a></li>
<li><a href="option_focus_alert.html">focus_alert</a></li>
<li><a href="option_directionality.html">directionality</a></li>
<li><a href="option_auto_reset_designmode.html">auto_reset_designmode</a></li>
<li><a href="option_auto_focus.html">auto_focus</a></li>
<li><a href="option_nowrap.html">nowrap</a></li>
<li><a href="option_button_tile_map.html">button_tile_map</a></li>
<li><a href="option_auto_resize.html">auto_resize</a></li>
<li><a href="option_browsers.html">browsers</a></li>
<li><a href="option_dialog_type.html">dialog_type</a></li>
<li><a href="option_accessibility_warnings.html">accessibility_warnings</a></li>
<li><a href="option_accessibility_focus.html">accessibility_focus</a></li>
<li><a href="option_event_elements.html">event_elements</a></li>
<li><a href="option_table_inline_editing.html">table_inline_editing</a></li>
<li><a href="option_object_resizing.html">object_resizing</a></li>
<li><a href="option_custom_shortcuts.html">custom_shortcuts</a></li>
<li><a href="option_strict_loading_mode.html">strict_loading_mode</a></li>
</ul>
<h3>Cleanup/Output</h3>
<ul class="optionlist">
<li><a href="option_cleanup.html">cleanup</a></li>
<li><a href="option_valid_elements.html">valid_elements</a></li>
<li><a href="option_extended_valid_elements.html">extended_valid_elements</a></li>
<li><a href="option_invalid_elements.html">invalid_elements</a></li>
<li><a href="option_verify_css_classes.html">verify_css_classes</a></li>
<li><a href="option_verify_html.html">verify_html</a></li>
<li><a href="option_preformatted.html">preformatted</a></li>
<li><a href="option_encoding.html">encoding</a></li>
<li><a href="option_cleanup_on_startup.html">cleanup_on_startup</a></li>
<li><a href="option_fix_content_duplication.html">fix_content_duplication</a></li>
<li><a href="option_inline_styles.html">inline_styles</a></li>
<li><a href="option_convert_newlines_to_brs.html">convert_newlines_to_brs</a></li>
<li><a href="option_force_br_newlines.html">force_br_newlines</a></li>
<li><a href="option_force_p_newlines.html">force_p_newlines</a></li>
<li><a href="option_entities.html">entities</a></li>
<li><a href="option_entity_encoding.html">entity_encoding</a></li>
<li><a href="option_remove_linebreaks.html">remove_linebreaks</a></li>
<li><a href="option_convert_fonts_to_spans.html">convert_fonts_to_spans</a></li>
<li><a href="option_font_size_classes.html">font_size_classes</a></li>
<li><a href="option_font_size_style_values.html">font_size_style_values</a></li>
<li><a href="option_merge_styles_invalid_parents.html">merge_styles_invalid_parents</a></li>
<li><a href="option_force_hex_style_colors.html">force_hex_style_colors</a></li>
<li><a href="option_apply_source_formatting.html">apply_source_formatting</a></li>
<li><a href="option_trim_span_elements.html">trim_span_elements</a></li>
<li><a href="option_doctype.html">doctype</a></li>
<li><a href="option_fix_list_elements.html">fix_list_elements</a></li>
<li><a href="option_fix_table_elements.html">fix_table_elements</a></li>
</ul>
</div>
<div class="column">
<h3>URL</h3>
<ul class="optionlist">
<li><a href="option_convert_urls.html">convert_urls</a></li>
<li><a href="option_relative_urls.html">relative_urls</a></li>
<li><a href="option_remove_script_host.html">remove_script_host</a></li>
<li><a href="option_document_base_url.html">document_base_url</a></li>
</ul>
<h3>Callbacks</h3>
<ul class="optionlist">
<li><a href="option_urlconverter_callback.html">urlconverter_callback</a></li>
<li><a href="option_insertlink_callback.html">insertlink_callback</a></li>
<li><a href="option_insertimage_callback.html">insertimage_callback</a></li>
<li><a href="option_setupcontent_callback.html">setupcontent_callback</a></li>
<li><a href="option_save_callback.html">save_callback</a></li>
<li><a href="option_onchange_callback.html">onchange_callback</a></li>
<li><a href="option_init_instance_callback.html">init_instance_callback</a></li>
<li><a href="option_file_browser_callback.html">file_browser_callback</a></li>
<li><a href="option_cleanup_callback.html">cleanup_callback</a></li>
<li><a href="option_handle_event_callback.html">handle_event_callback</a></li>
<li><a href="option_execcommand_callback.html">execcommand_callback</a></li>
<li><a href="option_oninit.html">oninit</a></li>
<li><a href="option_onpageload.html">onpageload</a></li>
</ul>
<h3>Layout</h3>
<ul class="optionlist">
<li><a href="option_content_css.html">content_css</a></li>
<li><a href="option_popups_css.html">popups_css</a></li>
<li><a href="option_editor_css.html">editor_css</a></li>
<li><a href="option_width.html">width</a></li>
<li><a href="option_height.html">height</a></li>
</ul>
<h3>Visual aids</h3>
<ul class="optionlist">
<li><a href="option_visual.html">visual</a></li>
<li><a href="option_visual_table_class.html">visual_table_class</a></li>
</ul>
<h3>Undo/Redo</h3>
<ul class="optionlist">
<li><a href="option_custom_undo_redo.html">custom_undo_redo</a></li>
<li><a href="option_custom_undo_redo_levels.html">custom_undo_redo_levels</a></li>
<li><a href="option_custom_undo_redo_keyboard_shortcuts.html">custom_undo_redo_keyboard_shortcuts</a></li>
<li><a href="option_custom_undo_redo_restore_selection.html">custom_undo_redo_restore_selection</a></li>
</ul>
<h3>File lists</h3>
<ul class="optionlist">
<li><a href="option_external_link_list_url.html">external_link_list_url</a></li>
<li><a href="option_external_image_list_url.html">external_image_list_url</a></li>
</ul>
<h3>Tab specific</h3>
<ul class="optionlist">
<li><a href="option_display_tab_class.html">display_tab_class</a></li>
<li><a href="option_hidden_tab_class.html">hidden_tab_class</a></li>
</ul>
</div>
<div class="column">
<h3>Triggers/Patches</h3>
<ul class="optionlist">
<li><a href="option_add_form_submit_trigger.html">add_form_submit_trigger</a></li>
<li><a href="option_add_unload_trigger.html">add_unload_trigger</a></li>
<li><a href="option_submit_patch.html">submit_patch</a></li>
</ul>
<h3>Advanced theme</h3>
<ul class="optionlist">
<li><a href="option_theme_advanced_layout_manager.html">theme_advanced_layout_manager</a></li>
<li><a href="option_theme_advanced_blockformats.html">theme_advanced_blockformats</a></li>
<li><a href="option_theme_advanced_styles.html">theme_advanced_styles</a></li>
<li><a href="option_theme_advanced_source_editor_width.html">theme_advanced_source_editor_width</a></li>
<li><a href="option_theme_advanced_source_editor_height.html">theme_advanced_source_editor_height</a></li>
<li><a href="option_theme_advanced_source_editor_wrap.html">theme_advanced_source_editor_wrap</a></li>
<li><a href="option_theme_advanced_toolbar_location.html">theme_advanced_toolbar_location</a></li>
<li><a href="option_theme_advanced_toolbar_align.html">theme_advanced_toolbar_align</a></li>
<li><a href="option_theme_advanced_statusbar_location.html">theme_advanced_statusbar_location</a></li>
<li><a href="option_theme_advanced_buttons_n.html">theme_advanced_buttons&lt;1-n&gt;</a></li>
<li><a href="option_theme_advanced_buttons_n_add.html">theme_advanced_buttons&lt;1-n&gt;_add</a></li>
<li><a href="option_theme_advanced_buttons_n_add_before.html">theme_advanced_buttons&lt;1-n&gt;_add_before</a></li>
<li><a href="option_theme_advanced_disable.html">theme_advanced_disable</a></li>
<li><a href="option_theme_advanced_containers.html">theme_advanced_containers</a></li>
<li><a href="option_theme_advanced_containers_default_class.html">theme_advanced_containers_default_class</a></li>
<li><a href="option_theme_advanced_containers_default_align.html">theme_advanced_containers_default_align</a></li>
<li><a href="option_theme_advanced_container.html">theme_advanced_container_&lt;container&gt;</a></li>
<li><a href="option_theme_advanced_container_class.html">theme_advanced_container_&lt;container&gt;_class</a></li>
<li><a href="option_theme_advanced_container_align.html">theme_advanced_container_&lt;container&gt;_align</a></li>
<li><a href="option_theme_advanced_custom_layout.html">theme_advanced_custom_layout</a></li>
<li><a href="option_theme_advanced_link_targets.html">theme_advanced_link_targets</a></li>
<li><a href="option_theme_advanced_resizing.html">theme_advanced_resizing</a></li>
<li><a href="option_theme_advanced_resizing_use_cookie.html">theme_advanced_resizing_use_cookie</a></li>
<li><a href="option_theme_advanced_resize_horizontal.html">theme_advanced_resize_horizontal</a></li>
<li><a href="option_theme_advanced_path.html">theme_advanced_path</a></li>
<li><a href="option_theme_advanced_fonts.html">theme_advanced_fonts</a></li>
</ul>
</div>
<br style="clear: both" />
</p>
</div>
<div class="separator"></div>
<h2>Initialization of TinyMCE</h2>
<div class="section">
<p>Inorder to initialize the TinyMCE the following code must be placed within HEAD element of a document. The following example is configurated to convert all TEXTAREA elements to into editors when the page loads, there are other <a href="option_mode.html">modes</a> as well.</p>
<h3>Example of TinyMCE configuration:</h3>
<div class="example">
<pre>
&lt;html&gt;
&lt;head&gt;
<strong>&lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot; src=&quot;../jscripts/tiny_mce/tiny_mce.js&quot;&gt;&lt;/script&gt;
&lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot;&gt;
tinyMCE.init({
theme : &quot;advanced&quot;,
mode : &quot;textareas&quot;
});
&lt;/script&gt;</strong>
&lt;/head&gt;
</pre>
</div>
<div class="note">
Note: Remember to remove the last &quot;,&quot; character in the options list.
</div>
</div>
</div>
<div class="footer">
<div class="helpindexlink"><a href="index.html">Index</a></div>
<div class="copyright">Copyright &copy; 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
<br style="clear: both" />
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Javascript Functions</title>
<link href="css/screen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="header">
<h1>Javascript Functions</h1>
</div>
<div class="content">
<p>This is for advanced users, TinyMCE has a global instance with some public functions that can be called from the page.</p>
<h3>tinyMCE.triggerSave([skip_cleanup], [skip_callback]);</h3>
<p>
Makes a cleanup and moves the contents from the editor to the form field. This method is automaticly called by tinyMCE by adding a trigger on the forms submit method.
</p>
<p>
<table border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<td colspan="2">Parameters</td>
</tr>
</thead>
<tbody>
<tr>
<td>[skip_cleanup]</td>
<td>Disables the cleanup process of trigger save. Defaults to false. (Optional)</td>
</tr>
<tr>
<td>[skip_callback]</td>
<td>Disables the execution of the <a href="option_save_callback.html">save_callback</a> function. Defaults to false. (Optional)</td>
</tr>
</tbody>
</table>
skip_callback
</p>
<p>
Returns: Nothing
</p>
<div class="separator"></div>
<h3>tinyMCE.updateContent(form_element_name);</h3>
<p>
Moves the contents from the form element to the editor, this does the opposite of triggerSave(). This method can be used when you want to change the contents of the editor dynamicly.
</p>
<p>
<table border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<td colspan="2">Parameters</td>
</tr>
</thead>
<tbody>
<tr>
<td>form_element_name</td>
<td>The name of the form element to get contents from.</td>
</tr>
</tbody>
</table>
</p>
<p>
Returns: Nothing
</p>
<div class="separator"></div>
<h3>tinyMCE.execInstanceCommand(editor_id, command, [user_interface], [value]);</h3>
<p>
This method executes a command by name on the editor instance specified by the editor_id parameter.
</p>
<p>
<table border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<td colspan="2">Parameters</td>
</tr>
</thead>
<tbody>
<tr>
<td>editor_id</td>
<td>ID of editor instance or element id/name of the replaced element.</td>
</tr>
<tr>
<td>command</td>
<td>Command to execute check the execCommand function for details.</td>
</tr>
<tr>
<td>[user_interface]</td>
<td>Is a user interface to be used or not.</td>
</tr>
<tr>
<td>[value]</td>
<td>Value to pass with command for example a URL..</td>
</tr>
</tbody>
</table>
</p>
<p>
Returns: Nothing
</p>
<div class="separator"></div>
<h3>tinyMCE.execCommand(command, [user_interface], [value]);</h3>
<p>
This method executes a command by name on the selected editor instance.
</p>
<p>
<table border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<td colspan="2">Parameters</td>
</tr>
</thead>
<tbody>
<tr>
<td>command</td>
<td>Command to execute for example &quot;Bold&quot; or &quot;Italic&quot;. These are defined by Mozilla <a href="http://www.mozilla.org/editor/midas-spec.html">Midas specification</a> or <a href="http://msdn.microsoft.com/workshop/author/dhtml/reference/commandids.asp">Microsoft specification</a>. But there are a some TinyMCE specific commands many other commands are available within plugins and themes.<br /><br />
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td>mceLink</td>
<td>Opens the insert link dialog and inserts a link.</td>
</tr>
<tr>
<td>mceImage</td>
<td>Opens the insert image dialog and inserts a image.</td>
</tr>
<tr>
<td>mceCleanup</td>
<td>Removed unwanted elements and attributes from the HTML code.</td>
</tr>
<tr>
<td>mceHelp</td>
<td>Opens the manual pages.</td>
</tr>
<tr>
<td>mceAddControl</td>
<td>Adds a editor control to the element id/name specified as value.</td>
</tr>
<tr>
<td>mceRemoveControl</td>
<td>Removes a specific control by editor_id name. The value is the editor_id to remove, editor ids are in the following format: &quot;mce_editor_&lt;index&gt;&quot;. DOM element ids and form element names can allso be used.</td>
</tr>
<tr>
<td>mceFocus</td>
<td>Focuses the editor by the id placed in value. Editor id's are in the format "mce_editor_<index>". DOM element ids and form element names can allso be used.</td>
</tr>
<tr>
<td>mceSetCSSClass</td>
<td>Sets the CSS class attribute or creates a new span of the selection. The value is the css class name to assign to selected element or new span element.</td>
</tr>
<tr>
<td>mceInsertContent</td>
<td>Inserts contents of value parameter to current cursor position.</td>
</tr>
<tr>
<td>mceReplaceContent</td>
<td>Replaces the current selection with the HTML code in value. The {$selection} variable gets replaced with the currently selected text contents.</td>
</tr>
<tr>
<td>mceSetAttribute</td>
<td>Sets a attribute of the currenly selected element. The value of this command should be a name/value array with the following parameters.<br /><br />
name - Attribute name to set.<br />
value - Attrbute value to set.<br />
[targets] - Target elements to add attribute on. Default: p,img,span,div,td,h1,h2,h3,h4,h5,h6,pre,address.<br /><br />
Example of usage:<br />
tinyMCE.execCommand('mceSetAttribute',false,{name:'align',value:'right'});<br />
</td>
</tr>
<tr>
<td>mceToggleVisualAid</td>
<td>Toggles visual aid/guidelines mode on/off.</td>
</tr>
<tr>
<td>mceAnchor</td>
<td>Inserts a named anchor element, the value is the name of the anchor.</td>
</tr>
<tr>
<td>mceResetDesignMode</td>
<td>Resets the designMode state of all editor instances, this command is useful on Firefox if the editor is placed in tabs or shown/hidden with style.display="none/block". Call this command after the editor displayed again.</td>
</tr>
<tr>
<td>mceSelectNode</td>
<td>Selects the node/element passed as value. This command will also scroll to the elements location within the editor.</td>
</tr>
<tr>
<td>mceSelectNodeDepth</td>
<td>Selects the node/element by depth relative from the current node. So a value of 0 will select the currently focused node. This command will also scroll to the elements location within the editor.</td>
</tr>
<tr>
<td>mceRemoveNode</td>
<td>Removes the specified node and places the contents of the node in the same location. Specify the node reference to remove in the value parameter or null if the currently selected node is to be removed.</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>[user_interface]</td>
<td>Tells if the command is to display a user interface or not. True/False option.</td>
</tr>
<tr>
<td>[value]</td>
<td>Value to pass for the command for example to insertLink it's the URL of the link.</td>
</tr>
</tbody>
</table>
</p>
<p>
Returns: Nothing
</p>
<p>
Example:
</p>
<p>
<div class="example">
<pre>
&lt;a href=&quot;javascript:tinymce.execCommand('Bold');&quot;&gt;[Do bold]&lt;/a&gt;
</pre>
</div>
</p>
<div class="separator"></div>
<h3><span class="marked">(Deprecated)</span> tinyMCE.insertLink(href, target);</h3>
<p>This method is deprecated and removed as of 2.0.3. Use tinyMCE.execCommand('mceInsertContent',false,'custom html'); instead and tinyMCE.getInstanceById('&lt;inst&gt;').selection.getFocusElement() to retrive/update the selected element.</p>
<p>But if you realy need the old function it's marked internal but is available in the advanced theme and you can call it by using tinyMCE.themes['advanced']._insertLink(href, target);. But the recommended way is to modify your code to use the logic above.</p>
<p>This method inserts a link a the cursor position of the selected editor instance or updates the selected link with new data. This method should be called upon "ok" in the insertLink popup when you create custom themes.
</p>
<table border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<td colspan="2">Parameters</td>
</tr>
</thead>
<tbody>
<tr>
<td>href</td>
<td>HREF/URL of the link.</td>
</tr>
<tr>
<td>target</td>
<td>Target of the link.</td>
</tr>
</tbody>
</table>
<p>
Returns: Nothing
</p>
<div class="separator"></div>
<h3><span class="marked">(Deprecated)</span> tinyMCE.insertImage(src, alt, border, hspace, vspace, width, height, align, title, onmouseover, onmouseout);</h4>
<p>This method is deprecated and removed as of 2.0.3. Use tinyMCE.execCommand('mceInsertContent',false,'custom html'); instead or if you realy need the old function it's marked internal but is available in the advanced theme and you can call it by using tinyMCE.themes['advanced']._insertImage(src, alt, border, hspace, vspace, width, height, align, title, onmouseover, onmouseout);. But the recommended way is to modify your code to use the logic above.</p>
<p>
This method inserts a image a the cursor position of the selected editor instance or updates the selected image with new data. This method should be called upon "ok" in the insertImage popup when you create custom themes.
</p>
<table border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<td colspan="2">Parameters</td>
</tr>
</thead>
<tbody>
<tr>
<td>src</td>
<td>Image src url.</td>
</tr>
<tr>
<td>alt</td>
<td>Alternative text of img element.</td>
</tr>
<tr>
<td>border</td>
<td>Border of image element.</td>
</tr>
<tr>
<td>hspace</td>
<td>Horizontal spacing of image element.</td>
</tr>
<tr>
<td>vspace</td>
<td>Vertical spacing of image element.</td>
</tr>
<tr>
<td>width</td>
<td>Width of image element.</td>
</tr>
<tr>
<td>height</td>
<td>Height of image element.</td>
</tr>
<tr>
<td>align</td>
<td>Alignment of image element.</td>
</tr>
<tr>
<td>title</td>
<td>Link title of image element.</td>
</tr>
<tr>
<td>onmouseover</td>
<td>On mouse over event handler of image element.</td>
</tr>
<tr>
<td>onmouseout</td>
<td>On mouse out event handler of image element.</td>
</tr>
</tbody>
</table>
<p>
Returns: Nothing
</p>
<div class="separator"></div>
<h3>tinyMCE.triggerNodeChange();</h3>
<p>This method is to be called when external changes is made to the editor. This method will then call the "handleNodeChangeCallback" callback in the theme.
</p>
<p>
Parameters:
</p>
<p>
None
</p>
<p>
Returns: Nothing
</p>
<div class="separator"></div>
<h3>tinyMCE.getContent();</h3>
<p>
This method returns the HTML contents of the currently selected editor or null if no editor was selected.
</p>
<p>
Parameters:
</p>
<p>
None
</p>
<p>
Returns: HTML contents of the currently selected editor or null.
</p>
<div class="separator"></div>
<h3>Syntax: tinyMCE.setContent(html);</h3>
<p>This method sets the HTML contents of the currently selected editor.</p>
<p>
<table border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<td colspan="2">Parameters</td>
</tr>
</thead>
<tbody>
<tr>
<td>html</td>
<td>HTML Source code to set.</td>
</tr>
</tbody>
</table>
</p>
<p>
Returns: None.
</p>
<div class="separator"></div>
<h3>tinyMCE.getInstanceById(editor_id);</h3>
<p>
This method returns a editor instance by editor id.
</p>
<p>
<table border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<td colspan="2">Parameters</td>
</tr>
</thead>
<tbody>
<tr>
<td>editor_id</td>
<td>Editor instance to retrive.</td>
</tr>
</tbody>
</table>
</p>
<p>
Returns: TinyMCE Editor instance (TinyMCE_Control).
</p>
<div class="separator"></div>
<h3>tinyMCE.importThemeLanguagePack([theme]);</h3>
<p>
This method imports/loads theme specific language packs. This may be called from custom themes.
</p>
<p>
<table border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<td colspan="2">Parameters</td>
</tr>
</thead>
<tbody>
<tr>
<td>[theme]</td>
<td>Name of the current theme. This is a optional parameter it defaults to the global "theme" setting. This parameter is useful within theme plugins.</td>
</tr>
</tbody>
</table>
</p>
<p>
Returns: None.
</p>
<div class="separator"></div>
<h3>tinyMCE.importPluginLanguagePack(plugin, valid_languages);</h3>
<p>
This method imports/loads plugin specific language packs. This may be called from custom plugins.
</p>
<p>
<table border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<td colspan="2">Parameters</td>
</tr>
</thead>
<tbody>
<tr>
<td>plugin</td>
<td>Name of the current plugin.</td>
</tr>
<tr>
<td>valid_languages</td>
<td>Comma separated list of supported languagepacks.</td>
</tr>
</tbody>
</table>
</p>
<p>
Returns: None.
</p>
<div class="separator"></div>
<h3>tinyMCE.applyTemplate(html);</h3>
<p>
This method replaces settings and lang variables in the theme.
</p>
<p>
<table border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<td colspan="2">Parameters</td>
</tr>
</thead>
<tbody>
<tr>
<td>html</td>
<td>HTML code to apply theme variable substitution on.</td>
</tr>
</tbody>
</table>
</p>
<p>
Returns: New converted, HTML code.
</p>
<div class="separator"></div>
<h3>tinyMCE.openWindow(template, [args]);</h3>
<p>This method opens a new window by the template data assigned, it will get the width, height and html data from template parameters. The args array contains variable names to be substituted.</p>
<p>
There are some custom window arguments:
</p>
<p>
<table border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<td colspan="2">Parameters</td>
</tr>
</thead>
<tbody>
<tr>
<td>mce_replacevariables</td>
<td>Enables/Disables the language/variable replacement of the document HTML. Enabled by default.</td>
</tr>
<tr>
<td>mce_windowresize</td>
<td>Enables/Disables the auto resize feature of popupwindows. Enabled by default.</td>
</tr>
</tbody>
</table>
</p>
<p>
<table border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<td colspan="2">Parameters</td>
</tr>
</thead>
<tbody>
<tr>
<td>template</td>
<td>Name/Value array with width, height, html and file keys in it.</td>
</tr>
<tr>
<td>[args]</td>
<td>Name/Value array with variable names to replace. Variables in the template file key value (URL) gets replaced with the argument list.</td>
</tr>
</tbody>
</table>
</p>
<p>
Returns: None.
</p>
<div class="separator"></div>
<h3>tinyMCE.getWindowArg(name, [default_value]);</h3>
<p>
This method returns a window argument defined by name. This function is to be used in theme popup windows to retrive dialog parameters.
</p>
<p>
<table border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<td colspan="2">Parameters</td>
</tr>
</thead>
<tbody>
<tr>
<td>name</td>
<td>Name of window argument to get.</td>
</tr>
<tr>
<td>[default_value]</td>
<td>Default value to be returned if window argument is missing.</td>
</tr>
</tbody>
</table>
</p>
<p>
Returns: Window argument value.
</p>
<div class="separator"></div>
<h3>tinyMCE.setWindowArg(name, value);</h3>
<p>This method sets a window argument by name. This can for example be useful if plugin are to call other plugins.</p>
<p>
<table border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<td colspan="2">Parameters</td>
</tr>
</thead>
<tbody>
<tr>
<td>name</td>
<td>Name of window argument to set.</td>
</tr>
<tr>
<td>value</td>
<td>Value to set in window argument.</td>
</tr>
</tbody>
</table>
</p>
<p>
Returns: Window argument value.
</p>
<div class="separator"></div>
<h3>tinyMCE.getParam(name, [default_value], [strip_whitespace]);</h3>
<p>This method returns a TinyMCE configuration parameter.</p>
<p>
<table border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<td colspan="2">Parameters:</td>
</tr>
</thead>
<tbody>
<tr>
<td>name</td>
<td>Name of window argument to get.</td>
</tr>
<tr>
<td>[default_value]</td>
<td>Default value to be returned if window argument is missing.</td>
</tr>
<tr>
<td>[strip_whitespace]</td>
<td>If true all whitespace will be removed from return value, default: false.</td>
</tr>
</tbody>
</table>
</p>
<p>
Returns: TinyMCE configuration parameter.
</p>
</div>
<div class="footer">
<div class="helpindexlink"><a href="index.html">Index</a></div>
<div class="copyright">Copyright &copy; 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
<br style="clear: both" />
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Plugins Reference</title>
<link href="css/screen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="header">
<h1>Plugins reference</h1>
</div>
<div class="content">
<p>Here are some information about the different plugins.</p>
<div class="separator"></div>
<h2>Plugins</h2>
<div class="section">
<p>To use a plugin, you need to use the advanced theme and add the plugin name in the &quot;<a href="option_plugin.html">plugin</a>&quot; comma seperated line. You also need to add the button to the interface, read more about the advanced plugin to configure this.</p>
<p>
<div class="column">
<ul class="optionlist">
<li><a href="plugin_advhr.html">advhr</a></li>
<li><a href="plugin_advimage.html">advimage</a></li>
<li><a href="plugin_advlink.html">advlink</a></li>
<li><a href="plugin_contextmenu.html">contextmenu</a></li>
<li><a href="plugin_emotions.html">emotions</a></li>
<li><a href="plugin_flash.html">flash</a></li>
<li><a href="plugin_autosave.html">autosave</a></li>
<li><a href="plugin_style.html">style</a></li>
<li><a href="plugin_layer.html">layer</a></li>
</ul>
</div>
<div class="column">
<ul class="optionlist">
<li><a href="plugin_iespell.html">iespell</a></li>
<li><a href="plugin_insertdatetime.html">insertdatetime</a></li>
<li><a href="plugin_paste.html">paste</a></li>
<li><a href="plugin_preview.html">preview</a></li>
<li><a href="plugin_print.html">print</a></li>
<li><a href="plugin_save.html">save</a></li>
<li><a href="plugin_noneditable.html">noneditable</a></li>
<li><a href="plugin_spellchecker.html">spellchecker</a></li>
</ul>
</div>
<div class="column">
<ul class="optionlist">
<li><a href="plugin_searchreplace.html">searchreplace</a></li>
<li><a href="plugin_table.html">table</a></li>
<li><a href="plugin_zoom.html">zoom</a></li>
<li><a href="plugin_directionality.html">directionality</a></li>
<li><a href="plugin_fullscreen.html">fullscreen</a></li>
<li><a href="plugin_fullpage.html">fullpage</a></li>
<li><a href="plugin_inlinepopups.html">inlinepopups</a></li>
<li><a href="plugin_fullpage.html">fullpage</a></li>
</ul>
</div>
<br style="clear: both" />
</p>
<p>
Please notice that the plugins can require some configuration, click on the plugin link to read more about that plugin.
</p>
</div>
<div class="separator"></div>
</div>
<div class="footer">
<div class="helpindexlink"><a href="index.html">Index</a></div>
<div class="copyright">Copyright &copy; 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
<br style="clear: both" />
</div>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
GLOBALS
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title="GLOBALS";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">File</FONT>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">&nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"--><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<B>PREV CLASS</B><!--
NEXT CLASS
-->
&nbsp;<A HREF="TinyMCE_Cleanup.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="GLOBALS.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>Class GLOBALS</H2>
<PRE>Object
|
+--<b>GLOBALS</b>
</PRE>
<HR>
<DL>
<!-- Class definition -->
<DT>class
<B>GLOBALS</B>
</DL>
<HR>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- ======== END NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- =========== END FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- ======== END CONSTRUCTOR SUMMARY ======== -->
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&lt;static&gt;&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#!s!TinyMCE_Menu">TinyMCE_Menu</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Constructor for the menu layer class.
</TD>
</TR>
</TABLE>
<P>
<!-- ========== END METHOD SUMMARY =========== -->
<!-- ============ FIELD DETAIL START =========== -->
<!-- ============ FIELD DETAIL END =========== -->
<!-- ========= CONSTRUCTOR DETAIL START ======== -->
<!-- Constructor return value(s) -->
<!-- End constructor return value(s) -->
<!-- ADDITIONAL ATTRIBUTES -->
<HR/>
<!-- END ADDITIONAL ATTRIBUTES -->
<!-- ========= CONSTRUCTOR DETAIL END ======== -->
<!-- ============ METHOD DETAIL START ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT>
</TD>
</TR>
</TABLE>
<!-- One single method detail entry -->
<A NAME="!s!TinyMCE_Menu"><!-- --></A>
<H3>TinyMCE_Menu</H3>
<PRE>&lt;static&gt; void <B>TinyMCE_Menu</B>()</PRE>
<UL>Constructor for the menu layer class.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<!-- ============ METHOD DETAIL END ========== -->
<!-- ========= END OF CLASS DATA ========= -->
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">File</FONT>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><b>Tree</b></FONT></A>&nbsp;</TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<B>PREV CLASS</B><!--
NEXT CLASS
-->
&nbsp;<A HREF="TinyMCE_Cleanup.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="GLOBALS.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<FONT SIZE="-1">
</FONT>
<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Fri Apr 14 21:59:23 2006</div>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
TinyMCE_Cleanup
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title="TinyMCE_Cleanup";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary-TinyMCE_Cleanup.class.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">&nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"--><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="GLOBALS.html"><B>PREV CLASS</B></A><!--
NEXT CLASS
-->
&nbsp;<A HREF="TinyMCE_Control.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="TinyMCE_Cleanup.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>Class TinyMCE_Cleanup</H2>
<PRE>Object
|
+--<b>TinyMCE_Cleanup</b>
</PRE>
<HR>
<DL>
<!-- Class definition -->
<DT>class
<B>TinyMCE_Cleanup</B>
</DL>
<P>
<I>Defined in <a href='overview-summary-TinyMCE_Cleanup.class.js.html'>TinyMCE_Cleanup.class.js</a></I><BR/><BR/>
</P>
<HR>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- ======== END NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- =========== END FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD>
<CODE>
<B>
<A HREF="TinyMCE_Cleanup.html#TinyMCE_Cleanup()">TinyMCE_Cleanup</A>
</B>
()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
TinyMCE_Cleanup class.
</TD>
</TR>
</TABLE>
<!-- ======== END CONSTRUCTOR SUMMARY ======== -->
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#addRuleStr">addRuleStr</A></B>(&lt;string&gt; s)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Adds a cleanup rule string, for TinyMCE_Cleanup.prototype.example = a;[href|name|title=title|class=class1?class2?class3].
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#formatHTML">formatHTML</A></B>(&lt;string&gt; h)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Applies source formatting/indentation on the specified HTML string.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#init">init</A></B>(&lt;Array&gt; s)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Initializes the cleanup engine with the specified config.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;Array</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#parseRuleStr">parseRuleStr</A></B>(&lt;string&gt; s)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Parses a cleanup rule string, for TinyMCE_Cleanup.prototype.example = a;[href|name|title=title|class=class1?class2?class3].
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#serializeNodeAsHTML">serializeNodeAsHTML</A></B>(&lt;HTMLNode&gt; n)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Serializes the specified node as a XHTML string.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#serializeNodeAsXML">serializeNodeAsXML</A></B>(&lt;HTMLNode&gt; n)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Serializes the specified node as a HTML string.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#split">split</A></B>(&lt;RegEx&gt; re, &lt;string&gt; s)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Splits the specified string and removed empty chunks.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#xmlEncode">xmlEncode</A></B>(&lt;string&gt; s)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
XML Encodes the specified string based on configured entity encoding.
</TD>
</TR>
</TABLE>
<P>
<!-- ========== END METHOD SUMMARY =========== -->
<!-- ============ FIELD DETAIL START =========== -->
<!-- ============ FIELD DETAIL END =========== -->
<!-- ========= CONSTRUCTOR DETAIL START ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1>
<FONT SIZE="+2"><B>Constructor Detail</B></FONT>
</TD>
</TR>
</TABLE>
<A NAME="TinyMCE_Cleanup()"><!-- --></A><H3>
TinyMCE_Cleanup</H3>
<PRE><B>TinyMCE_Cleanup</B>()</PRE>
<UL>
TinyMCE_Cleanup class.
</UL>
</UL>
<!-- Constructor return value(s) -->
<!-- End constructor return value(s) -->
<!-- ADDITIONAL ATTRIBUTES -->
<HR/>
<!-- END ADDITIONAL ATTRIBUTES -->
<!-- ========= CONSTRUCTOR DETAIL END ======== -->
<!-- ============ METHOD DETAIL START ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT>
</TD>
</TR>
</TABLE>
<!-- One single method detail entry -->
<A NAME="addRuleStr"><!-- --></A>
<H3>addRuleStr</H3>
<PRE>void <B>addRuleStr</B>(&lt;string&gt; s)</PRE>
<UL>Adds a cleanup rule string, for TinyMCE_Cleanup.prototype.example = a;[href|name|title=title|class=class1?class2?class3].
These rules are then used when serializing the DOM tree as a HTML string, it gives the possibility
to control the valid elements and attributes and force attribute values or default them.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>s</CODE> - Rule string to parse and add to the cleanup rules array.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="formatHTML"><!-- --></A>
<H3>formatHTML</H3>
<PRE>string <B>formatHTML</B>(&lt;string&gt; h)</PRE>
<UL>Applies source formatting/indentation on the specified HTML string.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>h</CODE> - HTML string to apply formatting to.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Formatted HTML string.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="init"><!-- --></A>
<H3>init</H3>
<PRE>void <B>init</B>(&lt;Array&gt; s)</PRE>
<UL>Initializes the cleanup engine with the specified config.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>s</CODE> - Name/Value array with config settings.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="parseRuleStr"><!-- --></A>
<H3>parseRuleStr</H3>
<PRE>Array <B>parseRuleStr</B>(&lt;string&gt; s)</PRE>
<UL>Parses a cleanup rule string, for TinyMCE_Cleanup.prototype.example = a;[href|name|title=title|class=class1?class2?class3].
These rules are then used when serializing the DOM tree as a HTML string, it gives the possibility
to control the valid elements and attributes and force attribute values or default them.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>s</CODE> - Rule string to parse as a name/value rule array.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Parsed name/value rule array.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="serializeNodeAsHTML"><!-- --></A>
<H3>serializeNodeAsHTML</H3>
<PRE>string <B>serializeNodeAsHTML</B>(&lt;HTMLNode&gt; n)</PRE>
<UL>Serializes the specified node as a XHTML string. This uses the TinyMCE serializer logic since it gives more
control over the output than the build in browser XML serializer.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - Node to serialize as a XHTML string.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Serialized XHTML string based on specified node.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="serializeNodeAsXML"><!-- --></A>
<H3>serializeNodeAsXML</H3>
<PRE>string <B>serializeNodeAsXML</B>(&lt;HTMLNode&gt; n)</PRE>
<UL>Serializes the specified node as a HTML string. This uses the XML parser and serializer
to generate a XHTML string.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - Node to serialize as a XHTML string.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Serialized XHTML string based on specified node.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="split"><!-- --></A>
<H3>split</H3>
<PRE>string <B>split</B>(&lt;RegEx&gt; re, &lt;string&gt; s)</PRE>
<UL>Splits the specified string and removed empty chunks.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>re</CODE> - RegEx to split string by.
</UL>
<UL><CODE>s</CODE> - String value to split.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Array with parts from specified string.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="xmlEncode"><!-- --></A>
<H3>xmlEncode</H3>
<PRE>string <B>xmlEncode</B>(&lt;string&gt; s)</PRE>
<UL>XML Encodes the specified string based on configured entity encoding. The entity encoding modes
are raw, numeric and named. Where raw is the fastest and named is default.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>s</CODE> - String to convert to XML.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Encoded XML string based on configured entity encoding.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<!-- ============ METHOD DETAIL END ========== -->
<!-- ========= END OF CLASS DATA ========= -->
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary-TinyMCE_Cleanup.class.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><b>Tree</b></FONT></A>&nbsp;</TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="GLOBALS.html"><B>PREV CLASS</B></A><!--
NEXT CLASS
-->
&nbsp;<A HREF="TinyMCE_Control.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="TinyMCE_Cleanup.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<FONT SIZE="-1">
</FONT>
<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Fri Apr 14 21:59:23 2006</div>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
TinyMCE_Control
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title="TinyMCE_Control";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary-TinyMCE_Control.class.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">&nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"--><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="TinyMCE_Cleanup.html"><B>PREV CLASS</B></A><!--
NEXT CLASS
-->
&nbsp;<A HREF="TinyMCE_Engine.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="TinyMCE_Control.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>Class TinyMCE_Control</H2>
<PRE>Object
|
+--<b>TinyMCE_Control</b>
</PRE>
<HR>
<DL>
<!-- Class definition -->
<DT>class
<B>TinyMCE_Control</B>
</DL>
<P>
<I>Defined in <a href='overview-summary-TinyMCE_Control.class.js.html'>TinyMCE_Control.class.js</a></I><BR/><BR/>
</P>
<HR>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- ======== END NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<!-- This is one instance field summary -->
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#cleanup">cleanup</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#hasMouseMoved">hasMouseMoved</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#isTinyMCE_Control">isTinyMCE_Control</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#plugins">plugins</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#selection">selection</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#settings">settings</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#shortcuts">shortcuts</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#undoRedo">undoRedo</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#undoRedoLevel">undoRedoLevel</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== END FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD>
<CODE>
<B>
<A HREF="TinyMCE_Control.html#TinyMCE_Control()">TinyMCE_Control</A>
</B>
(&lt;Array&gt; settings)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
This is the TinyMCE editor control instance class.
</TD>
</TR>
</TABLE>
<!-- ======== END CONSTRUCTOR SUMMARY ======== -->
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#addPlugin">addPlugin</A></B>(&lt;string&gt; n, p)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Adds a plugin to the editor instance.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#addShortcut">addShortcut</A></B>(&lt;string&gt; m, &lt;Object&gt; k, &lt;string&gt; d, &lt;string&gt; cmd, &lt;boolean&gt; ui, &lt;Object&gt; va)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Adds a keyboard shortcut to a specific command.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#autoResetDesignMode">autoResetDesignMode</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Auto resets the design mode of the document if it gets lost.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#execCommand">execCommand</A></B>(&lt;string&gt; command, &lt;boolean&gt; user_interface, &lt;mixed&gt; value)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Executes a command on the current instance.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;HTMLElement</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getBody">getBody</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the body element of a editor instance.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;DOMDocument</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getDoc">getDoc</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the DOM document of a editor instance.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;HTMLElement</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getFocusElement">getFocusElement</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the currently selected element.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;DOMRange</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getRng">getRng</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the browsers selections first range instance.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;DOMSelection</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getSel">getSel</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the browsers selection instance.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;Window</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getWin">getWin</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the window of a editor instance.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#handleShortcut">handleShortcut</A></B>(&lt;DOMEvent&gt; e)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Executes shortcuts based on the event information.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#hasPlugin">hasPlugin</A></B>(&lt;string&gt; n)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns true/false if the instance has the current plugin available.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#isDirty">isDirty</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns true/false if the editor instance is dirty or not.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#isHidden">isHidden</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns if the instance is hidden or not.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#queryCommandState">queryCommandState</A></B>(&lt;string&gt; c)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns a command specific state, for example if bold is enabled or not.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;mixed</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#queryCommandValue">queryCommandValue</A></B>(&lt;string&gt; c)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns a command specific value, for example the current font size.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#repaint">repaint</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Repaints the editarea in Gecko browsers.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#setBaseHREF">setBaseHREF</A></B>(&lt;string&gt; u)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Sets the base href url of the current document instance.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#switchSettings">switchSettings</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Switches the global TinyMCE settings to the current instance settings.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#triggerSave">triggerSave</A></B>(&lt;boolean&gt; skip_cleanup, &lt;boolean&gt; skip_callback)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Moves the contents from the TinyMCE editor control instance to the hidden textarea
that got replaced with TinyMCE.
</TD>
</TR>
</TABLE>
<P>
<!-- ========== END METHOD SUMMARY =========== -->
<!-- ============ FIELD DETAIL START =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="cleanup"><!-- --></A>
<H3>cleanup</H3>
<PRE>Object&nbsp;<B>cleanup</B></PRE>
<UL>
</UL>
<HR>
<A NAME="hasMouseMoved"><!-- --></A>
<H3>hasMouseMoved</H3>
<PRE>Object&nbsp;<B>hasMouseMoved</B></PRE>
<UL>
</UL>
<HR>
<A NAME="isTinyMCE_Control"><!-- --></A>
<H3>isTinyMCE_Control</H3>
<PRE>Object&nbsp;<B>isTinyMCE_Control</B></PRE>
<UL>
</UL>
<HR>
<A NAME="plugins"><!-- --></A>
<H3>plugins</H3>
<PRE>Object&nbsp;<B>plugins</B></PRE>
<UL>
</UL>
<HR>
<A NAME="selection"><!-- --></A>
<H3>selection</H3>
<PRE>Object&nbsp;<B>selection</B></PRE>
<UL>
</UL>
<HR>
<A NAME="settings"><!-- --></A>
<H3>settings</H3>
<PRE>Object&nbsp;<B>settings</B></PRE>
<UL>
</UL>
<HR>
<A NAME="shortcuts"><!-- --></A>
<H3>shortcuts</H3>
<PRE>Object&nbsp;<B>shortcuts</B></PRE>
<UL>
</UL>
<HR>
<A NAME="undoRedo"><!-- --></A>
<H3>undoRedo</H3>
<PRE>Object&nbsp;<B>undoRedo</B></PRE>
<UL>
</UL>
<HR>
<A NAME="undoRedoLevel"><!-- --></A>
<H3>undoRedoLevel</H3>
<PRE>Object&nbsp;<B>undoRedoLevel</B></PRE>
<UL>
</UL>
<HR>
<!-- ============ FIELD DETAIL END =========== -->
<!-- ========= CONSTRUCTOR DETAIL START ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1>
<FONT SIZE="+2"><B>Constructor Detail</B></FONT>
</TD>
</TR>
</TABLE>
<A NAME="TinyMCE_Control()"><!-- --></A><H3>
TinyMCE_Control</H3>
<PRE><B>TinyMCE_Control</B>(&lt;Array&gt; settings)</PRE>
<UL>
This is the TinyMCE editor control instance class. A instance of this class will is made for each
converted text area.
</UL>
<UL>
<B>Parameters:</B>
<UL><CODE>settings</CODE> - Name/Value array of instance specific configuration settings.
</UL>
</UL>
<!-- Constructor return value(s) -->
<!-- End constructor return value(s) -->
<!-- ADDITIONAL ATTRIBUTES -->
<HR/>
<!-- END ADDITIONAL ATTRIBUTES -->
<!-- ========= CONSTRUCTOR DETAIL END ======== -->
<!-- ============ METHOD DETAIL START ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT>
</TD>
</TR>
</TABLE>
<!-- One single method detail entry -->
<A NAME="addPlugin"><!-- --></A>
<H3>addPlugin</H3>
<PRE>void <B>addPlugin</B>(&lt;string&gt; n, p)</PRE>
<UL>Adds a plugin to the editor instance. This will also add it globaly.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - Plugin name to check for.
</UL>
<UL><CODE>n</CODE> - TinyMCE plugin instance.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="addShortcut"><!-- --></A>
<H3>addShortcut</H3>
<PRE>boolean <B>addShortcut</B>(&lt;string&gt; m, &lt;Object&gt; k, &lt;string&gt; d, &lt;string&gt; cmd, &lt;boolean&gt; ui, &lt;Object&gt; va)</PRE>
<UL>Adds a keyboard shortcut to a specific command. These shortcuts can for example be added
at the initInstance callback of a plugin. The shortcut description can be a language variable name
or a string describing the function. If you don't specify a command, the shortcut will simply be a blocker
shortcut. This enables you to remove built in shortcuts or remove theme specific shortcuts from a plugin.<br />
Example shortcut inst.addShortcut('ctrl,alt', 'k', 'mceSomeCommand', false, 'somevalue');
Example blocker inst.addShortcut('ctrl,alt', 'k');</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>m</CODE> - List of shortcut modifiers keys, for example "ctrl,alt".
</UL>
<UL><CODE>k</CODE> - Shortcut key char for example "s" or a keycode value "13".
</UL>
<UL><CODE>d</CODE> - Optional Shortcut description, this will be presented in the about dialog.
</UL>
<UL><CODE>cmd</CODE> - Optional Command name to execute, for example mceLink or Bold.
</UL>
<UL><CODE>ui</CODE> - Optional True/false state if a UI (dialog) should be presented or not.
</UL>
<UL><CODE>va</CODE> - Optional command value, this can be anything.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
true/false if the shortcut was added or not
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="autoResetDesignMode"><!-- --></A>
<H3>autoResetDesignMode</H3>
<PRE>void <B>autoResetDesignMode</B>()</PRE>
<UL>Auto resets the design mode of the document if it gets lost.
This is a Gecko specific function since it's a workaround for a bug where Gecko browsers
loose the designMode state if the editor is hidden and shown in a tab or div.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="execCommand"><!-- --></A>
<H3>execCommand</H3>
<PRE>Object <B>execCommand</B>(&lt;string&gt; command, &lt;boolean&gt; user_interface, &lt;mixed&gt; value)</PRE>
<UL>Executes a command on the current instance. These commands can be TinyMCE internal commands prefixed with "mce" or
they can be build in browser commands such as "Bold". A compleate list of browser commands is available on MSDN or Mozilla.org.
This function will dispatch the execCommand function on each plugin, theme or the execcommand_callback option if none of these
return true it will handle the command as a internal browser command.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>command</CODE> - Command name to execute, for example mceLink or Bold.
</UL>
<UL><CODE>user_interface</CODE> - True/false state if a UI (dialog) should be presented or not.
</UL>
<UL><CODE>value</CODE> - Optional command value, this can be anything.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getBody"><!-- --></A>
<H3>getBody</H3>
<PRE>HTMLElement <B>getBody</B>()</PRE>
<UL>Returns the body element of a editor instance.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Body element of a editor instance.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getDoc"><!-- --></A>
<H3>getDoc</H3>
<PRE>DOMDocument <B>getDoc</B>()</PRE>
<UL>Returns the DOM document of a editor instance.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
DOM document of a editor instance.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getFocusElement"><!-- --></A>
<H3>getFocusElement</H3>
<PRE>HTMLElement <B>getFocusElement</B>()</PRE>
<UL>Returns the currently selected element. This is was added for compatiblity and is deprecated.
Please use inst.selection.getFocusElement instead.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Currently selected element.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<UL>
<B>Deprecated</B> <I></I><BR/><BR/>
</UL>
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getRng"><!-- --></A>
<H3>getRng</H3>
<PRE>DOMRange <B>getRng</B>()</PRE>
<UL>Returns the browsers selections first range instance. This is was added for compatiblity and is deprecated.
Please use inst.selection.getRng instead.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Browsers selections first range instance.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<UL>
<B>Deprecated</B> <I></I><BR/><BR/>
</UL>
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getSel"><!-- --></A>
<H3>getSel</H3>
<PRE>DOMSelection <B>getSel</B>()</PRE>
<UL>Returns the browsers selection instance. This is was added for compatiblity and is deprecated.
Please use inst.selection.getSel instead.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Browser selection instance.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<UL>
<B>Deprecated</B> <I></I><BR/><BR/>
</UL>
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getWin"><!-- --></A>
<H3>getWin</H3>
<PRE>Window <B>getWin</B>()</PRE>
<UL>Returns the window of a editor instance.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Window of a editor instance.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="handleShortcut"><!-- --></A>
<H3>handleShortcut</H3>
<PRE>boolean <B>handleShortcut</B>(&lt;DOMEvent&gt; e)</PRE>
<UL>Executes shortcuts based on the event information.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>e</CODE> - Keyboard event to handle.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
true/false if the shortcut was found and executed or not.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="hasPlugin"><!-- --></A>
<H3>hasPlugin</H3>
<PRE>boolean <B>hasPlugin</B>(&lt;string&gt; n)</PRE>
<UL>Returns true/false if the instance has the current plugin available.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - Plugin name to check for.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
true/false if the instance has the current plugin available.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="isDirty"><!-- --></A>
<H3>isDirty</H3>
<PRE>boolean <B>isDirty</B>()</PRE>
<UL>Returns true/false if the editor instance is dirty or not. In other words if it has been modified
or not.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Editor instance dirty state.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="isHidden"><!-- --></A>
<H3>isHidden</H3>
<PRE>boolean <B>isHidden</B>()</PRE>
<UL>Returns if the instance is hidden or not. This is a Gecko specific function
other browsers will always return false. This function is used to workaround the lost
designMode bug in Gecko browsers.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Returns if the instance is hidden or not.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="queryCommandState"><!-- --></A>
<H3>queryCommandState</H3>
<PRE>boolean <B>queryCommandState</B>(&lt;string&gt; c)</PRE>
<UL>Returns a command specific state, for example if bold is enabled or not.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>c</CODE> - Command to query state from.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Command specific state, for example if bold is enabled or not.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="queryCommandValue"><!-- --></A>
<H3>queryCommandValue</H3>
<PRE>mixed <B>queryCommandValue</B>(&lt;string&gt; c)</PRE>
<UL>Returns a command specific value, for example the current font size.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>c</CODE> - Command to query value from.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Command specific value, for example the current font size.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="repaint"><!-- --></A>
<H3>repaint</H3>
<PRE>void <B>repaint</B>()</PRE>
<UL>Repaints the editarea in Gecko browsers. This method removes ghost resize handlers
and other trailing graphics.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="setBaseHREF"><!-- --></A>
<H3>setBaseHREF</H3>
<PRE>void <B>setBaseHREF</B>(&lt;string&gt; u)</PRE>
<UL>Sets the base href url of the current document instance. This method is used
to temporarly remove the base url during copy/paste and drag/drop operations
of relative links from external sites into TinyMCE. MSIE has a bug and converts
relative links from external sites to absolute links incorrectly.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>u</CODE> - URL to set as base URL or null to remove it.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="switchSettings"><!-- --></A>
<H3>switchSettings</H3>
<PRE>void <B>switchSettings</B>()</PRE>
<UL>Switches the global TinyMCE settings to the current instance settings. This method is
used to handle multiple configurations.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="triggerSave"><!-- --></A>
<H3>triggerSave</H3>
<PRE>void <B>triggerSave</B>(&lt;boolean&gt; skip_cleanup, &lt;boolean&gt; skip_callback)</PRE>
<UL>Moves the contents from the TinyMCE editor control instance to the hidden textarea
that got replaced with TinyMCE. This is executed automaticly on for example form submit unless you configure otherwice.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>skip_cleanup</CODE> - Optional Skip cleanup, simply move the contents as fast as possible.
</UL>
<UL><CODE>skip_callback</CODE> - Optional Skip callback, don't call the save_callback function.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<!-- ============ METHOD DETAIL END ========== -->
<!-- ========= END OF CLASS DATA ========= -->
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary-TinyMCE_Control.class.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><b>Tree</b></FONT></A>&nbsp;</TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="TinyMCE_Cleanup.html"><B>PREV CLASS</B></A><!--
NEXT CLASS
-->
&nbsp;<A HREF="TinyMCE_Engine.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="TinyMCE_Control.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<FONT SIZE="-1">
</FONT>
<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Fri Apr 14 21:59:23 2006</div>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
TinyMCE_Engine
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title="TinyMCE_Engine";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary-TinyMCE_Engine.class.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">&nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"--><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="TinyMCE_Control.html"><B>PREV CLASS</B></A><!--
NEXT CLASS
-->
&nbsp;<A HREF="TinyMCE_Layer.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="TinyMCE_Engine.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>Class TinyMCE_Engine</H2>
<PRE>Object
|
+--<b>TinyMCE_Engine</b>
</PRE>
<HR>
<DL>
<!-- Class definition -->
<DT>class
<B>TinyMCE_Engine</B>
</DL>
<P>
<I>Defined in <a href='overview-summary-TinyMCE_Engine.class.js.html'>TinyMCE_Engine.class.js</a></I><BR/><BR/>
</P>
<HR>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- ======== END NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<!-- This is one instance field summary -->
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#buttonMap">buttonMap</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#configs">configs</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#currentConfig">currentConfig</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#dialogCounter">dialogCounter</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#eventHandlers">eventHandlers</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#idCounter">idCounter</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#instances">instances</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#isGecko">isGecko</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#isLoaded">isLoaded</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#isMac">isMac</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#isMSIE">isMSIE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#isMSIE5">isMSIE5</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#isMSIE5_0">isMSIE5_0</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#isNS7">isNS7</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#isNS71">isNS71</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#isOpera">isOpera</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#isSafari">isSafari</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#loadedFiles">loadedFiles</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#loadedPlugins">loadedPlugins</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#majorVersion">majorVersion</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#menus">menus</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#minorVersion">minorVersion</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#plugins">plugins</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#releaseDate">releaseDate</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#switchClassCache">switchClassCache</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#themes">themes</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#windowArgs">windowArgs</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== END FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD>
<CODE>
<B>
<A HREF="TinyMCE_Engine.html#TinyMCE_Engine()">TinyMCE_Engine</A>
</B>
()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Core engine class for TinyMCE, a instance of this class is available as a global called tinyMCE.
</TD>
</TR>
</TABLE>
<!-- ======== END CONSTRUCTOR SUMMARY ======== -->
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;HTMLElement</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#_getElementById">_getElementById</A></B>(&lt;string&gt; i&lt;DOMDocument&gt; d, d)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns a element by id, this will also search the form names to match the id.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#_removeInternal">_removeInternal</A></B>(&lt;DOMNode&gt; n)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Removes any internal content inserted by regexps.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#accessibleEventHandler">accessibleEventHandler</A></B>(&lt;DOMEvent&gt; e)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Accessibility handler that gets executed when the user hits a key in a select element.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#addButtonMap">addButtonMap</A></B>(&lt;string&gt; m)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Adds a list of buttons available in the tiled button image used by the button_tile_map option.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#addCSSClass">addCSSClass</A></B>(&lt;HTMLElement&gt; e, c, b)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Adds a CSS class to the specified element.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#addEvent">addEvent</A></B>(&lt;HTMLElement&gt; o, &lt;string&gt; n, &lt;function&gt; h)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Adds a event handler function to the specified object.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#addEventHandlers">addEventHandlers</A></B>(&lt;inst&gt; inst)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Adds the handleEvent function to the specified editor instance.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#addMCEControl">addMCEControl</A></B>(&lt;HTMLElement&gt; replace_element, &lt;string&gt; form_element_name, &lt;DOMDocument&gt; target_document)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Adds a TinyMCE editor control instance to a specific form element.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#addMenu">addMenu</A></B>(&lt;string&gt; n, &lt;TinyMCE_Menu&gt; m)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Adds a floating menu instance to TinyMCE.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#addPlugin">addPlugin</A></B>(n, &lt;TinyMCE_Plugin&gt; p)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Adds the specified plugin to the list of loaded plugins, this will also setup the baseURL
property of the plugin.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#addSelectAccessibility">addSelectAccessibility</A></B>(&lt;DOMEvent&gt; e, &lt;HTMLElement&gt; s, &lt;DOMWindow&gt; w)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Adds accessibility keydown handler to the specified select element.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#addTheme">addTheme</A></B>(&l&lt;TinyMCE_Theme&gt; t;string&gt; n, t)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Adds the specified theme in to the list of loaded themes.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#addToLang">addToLang</A></B>(&lt;string&gt; prefix, &lt;Array&gt; ar)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Adds language items to the global language array.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#applyTemplate">applyTemplate</A></B>(&lt;string&gt; h, &lt;Array&gt; as)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Replaces language, args and settings variables in a HTML string.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#callFunc">callFunc</A></B>(&lt;<&lt;Array&gt; a href="TinyMCE_Control.html">TinyMCE_Control</a>&gt; ins, &lt;string&gt; p, &lt;string&gt; n, &lt;int&gt; m, a)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Executes callback chain.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#cancelEvent">cancelEvent</A></B>(&lt;DOMEvent&gt; e)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Cancels the specified event, this will disable the event from be passed to other listeners in event chain.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#cleanupAnchors">cleanupAnchors</A></B>(&lt;DOMDocument&gt; doc)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Moves the contents of a anchor outside and after the anchor.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#cleanupEventStr">cleanupEventStr</A></B>(&lt;string&gt; s)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Removes MSIE 5.5 specific event wrapper function form a event string.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#cleanupHTMLCode">cleanupHTMLCode</A></B>(&lt;string&gt; s)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Makes some preprocessing cleanup routines on the specified HTML string.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;Array</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#clearArray">clearArray</A></B>(a)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns a cleared array, since some external libraries tend to extend the Array core object
arrays needs to be cleaned from these extended functions.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#closeWindow">closeWindow</A></B>(&lt;DOMWindow&gt; win)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Closes the specified window.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#compressStyle">compressStyle</A></B>(&lt;Array&gt; ar, &lt;string&gt; pr, &lt;string&gt; sf, &lt;string&gt; res)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Compresses larger styles into a smaller.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#confirmAdd">confirmAdd</A></B>(&lt;DOMEvent&gt; e, &lt;Array&gt; settings)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Displays a confirm dialog when a user clicks/focus a textarea that is to be converted into
a TinyMCE instance.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#convertAbsoluteURLToRelativeURL">convertAbsoluteURLToRelativeURL</A></B>(&lt;string&gt; base_url, &lt;string&gt; url_to_relative)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Converts an absolute path to relative path.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#convertAllRelativeURLs">convertAllRelativeURLs</A></B>(&lt;HTMLElement&gt; body)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Converts all img and a element URLs to absolute URLs.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#convertFontsToSpans">convertFontsToSpans</A></B>(&lt;DOMDocument&gt; doc)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Convers fonts to spans in the specified document.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#convertHexToRGB">convertHexToRGB</A></B>(&lt;string&gt; s)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns a rgb(n,n,n) string from a hexadecimal value.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#convertRelativeToAbsoluteURL">convertRelativeToAbsoluteURL</A></B>(&lt;string&gt; base_url, &lt;string&gt; relative_url)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Converts an relative path to absolute path.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#convertRGBToHex">convertRGBToHex</A></B>(&lt;string&gt; s, &lt;boolean&gt; k)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns a hexadecimal version of the specified rgb(1,2,3) string.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#convertSpansToFonts">convertSpansToFonts</A></B>(&lt;DOMDocument&gt; doc)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Converts span elements to font elements in the specified document instance.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#convertURL">convertURL</A></B>(&lt;string&gt; url, &lt;HTMLElement&gt; node, &lt;boolean&gt; on_save)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Converts the specified URL based in TinyMCE configuration settings.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#debug">debug</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Debugs the specified message to a screen.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#dispatchCallback">dispatchCallback</A></B>(&lt;<a href="TinyMCE_Control.html">TinyMCE_Control</a>&gt; i, &lt;string&gt; p, &lt;string&gt; n)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Dispatches the specified callback on all options, plugins and themes.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#entityDecode">entityDecode</A></B>(&lt;string&gt; s)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
HTML entity decode a string, replaces &lt; with <.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#evalFunc">evalFunc</A></B>(&lt;string&gt; f, &lt;int&gt; idx, &lt;Array&gt; a)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Evaluates the specified function and uses the array of arguments.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#execCommand">execCommand</A></B>(&lt;string&gt; command, &lt;boolean&gt; user_interface, &lt;object&gt; value)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Executes a command on the selected or last selected TinyMCE editor control instance.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#execCommandCallback">execCommandCallback</A></B>(&lt;<a href="TinyMCE_Control.html">TinyMCE_Control</a>&gt; i, &lt;string&gt; p, &lt;string&gt; n)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Executes the specified execcommand callback on all options, plugins and themes.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#execInstanceCommand">execInstanceCommand</A></B>(&lt;string&gt; editor_id, &lt;string&gt; command, &lt;boolean&gt; user_interface, &lt;object&gt; value, &lt;boolean&gt; focus)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Executes a command on a specific editor instance by id.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#executeCallback">executeCallback</A></B>(&lt;<a href="TinyMCE_Control.html">TinyMCE_Control</a>&gt; i, &lt;string&gt; p, &lt;string&gt; n)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Executes the specified callback on all options, plugins and themes.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;Array</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#explode">explode</A></B>(&lt;string&gt; d, &lt;string&gt; s)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Splits a string by the specified delimiter and skips any empty items.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#extend">extend</A></B>(&lt;Object&gt; p, &lt;Object&gt; np)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Extends the specified prototype with new methods.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#fixGeckoBaseHREFBug">fixGeckoBaseHREFBug</A></B>(&lt;boolean&gt; m, &lt;HTMLElement&gt; e, &lt;string&gt; h)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Fixes a Gecko specific bug where href, src attribute values gets converted incorrectly
when inserted into editor.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;TinyMCE_ElementPosition</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getAbsPosition">getAbsPosition</A></B>(&lt;HTMLNode&gt; n)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the absolute x, y position of a node.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getAttrib">getAttrib</A></B>(&lt;HTMLElement&gt; elm, &lt;string&gt; name, &lt;string&gt; default_value)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the attribute value of a element or the default value if it wasn't found.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getButtonHTML">getButtonHTML</A></B>(&lt;string&gt; id, &lt;string&gt; lang, &lt;string&gt; img, &lt;string&gt; cmd, &lt;string&gt; ui, &lt;string&gt; val)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the HTML code for a normal button control.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getContent">getContent</A></B>(&lt;string&gt; editor_id)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the HTML contents of the specified editor instance id.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getControlHTML">getControlHTML</A></B>(&lt;string&gt; c)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the HTML for the specified control this will loop through
the theme and all plugins inorder to find the control.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;Array</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getCSSClasses">getCSSClasses</A></B>(&lt;string&gt; editor_id, &lt;DOMDocument&gt; doc)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns a array of CSS classes that is available in a document.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getEditorId">getEditorId</A></B>(&lt;string&gt; form_element)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the editor instance id of a specific form element.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;HTMLElement</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getElementByAttributeValue">getElementByAttributeValue</A></B>(&lt;HTMLElement&gt; n, &lt;string&gt; e, &lt;string&gt; a, &lt;string&gt; v)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns a element by a specific attribute and it's value.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;Array</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getElementsByAttributeValue">getElementsByAttributeValue</A></B>(&lt;HTMLElement&gt; n, &lt;string&gt; e, &lt;string&gt; a, &lt;string&gt; v)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns a element array by a specific attribute and it's value.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;<a href="TinyMCE_Control.html">TinyMCE_Control</a></CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getInstanceById">getInstanceById</A></B>(&lt;string&gt; editor_id)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns a TinyMCE editor instance by the specified editor id or null if it wasn't found.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getLang">getLang</A></B>(&lt;string&gt; name, &lt;string&gt; default_value, &lt;boolean&gt; parse_entities, &lt;Array&gt; va)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns a language variable value from the language packs.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;Array</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getNodeTree">getNodeTree</A></B>(&l&lt;int&gt; t;HTMLNode&gt; n, &lt;Array&gt; na, t, &lt;string&gt; nn)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns a array of nodes selected retrived from the child nodes of the specified node.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getOuterHTML">getOuterHTML</A></B>(&lt;HTMLElement&gt; e)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the outer HTML of a element, this uses the outerHTML
property in MSIE and Opera and a workaround for Gecko.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getParam">getParam</A></B>(&lt;string&gt; name, &lt;string&gt; default_value, &lt;boolean&gt; strip_whitespace, &lt;string&gt; split_chr)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns a specific configuration setting or the default value if it wasn't found.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;HTMLElement</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getParentBlockElement">getParentBlockElement</A></B>(&lt;HTMLNode&gt; n)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the first block element parent of the specified node.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;HTMLElement</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getParentElement">getParentElement</A></B>(&lt;HTMLNode&gt; node, &lt;string&gt; names, &lt;string&gt; attrib_name, &lt;string&gt; attrib_value)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the parent element of the specified node based on the search criteria.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;DOMNode</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getParentNode">getParentNode</A></B>(&lt;DOMNode&gt; n, &lt;function&gt; f)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns a node by the specified selector function.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getVisualAidClass">getVisualAidClass</A></B>(&lt;string&gt; class_name, &lt;boolean&gt; state)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the visual aid class string, this will add/remove the visual aid class.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getWindowArg">getWindowArg</A></B>(&lt;string&gt; n, d)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the window argument to be passed to TinyMCE popup.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#handleEvent">handleEvent</A></B>(&lt;DOMEvent&gt; e)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Event handler function that gets executed each time a event occurs in a TinyMCE editor control instance.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#handleVisualAid">handleVisualAid</A></B>(&lt;HTMLElement&gt; el, &lt;boolean&gt; deep, &lt;boolean&gt; state, &lt;<a href="TinyMCE_Control.html">TinyMCE_Control</a>&gt; inst, skip_dispatch)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Adds visual aid classes to all elements that need them recursive in the DOM tree.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#hasMenu">hasMenu</A></B>(&lt;string&gt; n)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Checks if the specified menu by name is added to TinyMCE.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#hasPlugin">hasPlugin</A></B>(&lt;string&gt; n)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns true/false if the specified plugin is loaded or not.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#hasTheme">hasTheme</A></B>(&lt;string&gt; n)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns true/false if the specified theme is loaded or not.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#importCSS">importCSS</A></B>(&lt;DOMDocument&gt; doc, &lt;string&gt; css)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Imports a CSS file into a allready loaded document.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#importPluginLanguagePack">importPluginLanguagePack</A></B>(&lt;string&gt; name, &lt;string&gt; valid_languages)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Loads a plugin specific language pack.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#importThemeLanguagePack">importThemeLanguagePack</A></B>(&lt;string&gt; name)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Loads a theme specific language pack.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#init">init</A></B>(settings)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Initializes TinyMCE with the specific configuration settings.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#insertAfter">insertAfter</A></B>(&lt;HTMLNode&gt; n, &lt;HTMLNode&gt; r)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Inserts a node after the specific node.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#isBlockElement">isBlockElement</A></B>(&lt;HTMLNode&gt; n)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns true/false if the specified node is a block element or not.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#isInstance">isInstance</A></B>(&lt;object&gt; o)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns true/false if a specific object is a TinyMCE_Control instance or not.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#loadCSS">loadCSS</A></B>(&lt;string&gt; url)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Loads the specified CSS by writing the a link tag to the current page.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#loadPlugin">loadPlugin</A></B>(&lt;string&gt; n, &lt;string&gt; u)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Load plugin from external URL.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#loadScript">loadScript</A></B>(&lt;string&gt; url)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Loads the specified script by writing the a script tag to the current page.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;HTMLElement</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#nextNode">nextNode</A></B>(&lt;HTMLNode&gt; e, &lt;string&gt; n)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Finds any element after the current one by name.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#onLoad">onLoad</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Gets executed when the page loads or get intitialized.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#onMouseMove">onMouseMove</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Mouse move handler function, this will be executed each time
the mouse is moved within a editor instance.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#openWindow">openWindow</A></B>(&lt;Array&gt; template, &lt;Array&gt; args)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Opens a popup window based in the specified input data.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;Array</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#parseStyle">parseStyle</A></B>(&lt;string&gt; str)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Parses the specified HTML style data.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;TinyMCE_URL_Item</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#parseURL">parseURL</A></B>(&lt;string&gt; url_str)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Parses a URL in to its diffrent components.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;HTMLElement</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#prevNode">prevNode</A></B>(&lt;HTMLNode&gt; e, &lt;string&gt; n)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Finds any previous element by name.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#queryInstanceCommandState">queryInstanceCommandState</A></B>(&lt;string&gt; editor_id, &lt;string&gt; command)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Queries a command state for a specific command on a specific editor instance.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#queryInstanceCommandValue">queryInstanceCommandValue</A></B>(&lt;string&gt; editor_id, &lt;string&gt; command)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Queries a command value for a specific command on a specific editor instance.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#regexpReplace">regexpReplace</A></B>(&lt;string&gt; in_str, &lt;string&gt; reg_exp, &lt;string&gt; replace_str, opts)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Regexp replaces the contents of a string.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#removeCSSClass">removeCSSClass</A></B>(&lt;HTMLElement&gt; e, c)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Removes the specified CSS class from the element.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#removeMCEControl">removeMCEControl</A></B>(&lt;string&gt; editor_id)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Removes a TinyMCE editor control instance by id.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#removeTinyMCEFormElements">removeTinyMCEFormElements</A></B>(&lt;HTMLElement&gt; form_obj)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Removes/disables TinyMCE built in form elements such as select boxes for font sizes etc.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#renameElement">renameElement</A></B>(&lt;HTMLElement&gt; e, &lt;string&gt; n, &lt;DOMDocument&gt; d)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Renames the specified element to the specified name.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#replaceVar">replaceVar</A></B>(&lt;string&gt; h, &lt;string&gt; r, &lt;string&gt; v)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Replaces a specific variable in the string with a nother string.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#resetForm">resetForm</A></B>(&lt;int&gt; form_index)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Resets a forms TinyMCE instances based on form index.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;Array</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#selectNodes">selectNodes</A></B>(&lt;DOMNode&gt; n, &lt;function&gt; f, &lt;Array&gt; a)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns a array of nodes when the specified function matches a node.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#serializeStyle">serializeStyle</A></B>(&lt;Array&gt; ar)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Serializes the specified style item name/value array into a HTML string.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#serializeURL">serializeURL</A></B>(&lt;TinyMCE_URL_Item&gt; up)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Serializes the specified URL object into a string.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#setAttrib">setAttrib</A></B>(&lt;HTMLElement&gt; element, &lt;string&gt; name, &lt;string&gt; value, &lt;boolean&gt; fix_value)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Sets the attribute value for a specific attribute.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#setContent">setContent</A></B>(&lt;string&gt; h)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Sets the HTML contents of the selected editor instance.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#setInnerHTML">setInnerHTML</A></B>(&lt;HTMLElement&gt; e, &lt;string&gt; h)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Sets the innerHTML property of a element, this function also
fixes a MSIE bug where the first comment is removed.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#setOuterHTML">setOuterHTML</A></B>(&lt;HTMLElement&gt; e, &lt;string&gt; h)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Sets the outer HTML of a element, this uses the outerHTML
property in MSIE and Opera and a workaround for Gecko.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#setPluginBaseURL">setPluginBaseURL</A></B>(&lt;string&gt; n, &lt;string&gt; u)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Sets the baseURL of the specified plugin, this is useful if the plugin is loaded from
a external location.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#setStyleAttrib">setStyleAttrib</A></B>(&lt;HTMLElement&gt; elm, &lt;string&gt; name, &lt;string&gt; value)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Sets a style attribute item value.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#setupContent">setupContent</A></B>(&lt;string&gt; editor_id)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Setups the contents of TinyMCE editor instance and fills it with contents.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#setWindowArg">setWindowArg</A></B>(&lt;string&gt; n, &lt;string&gt; v)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Sets the window argument to be passed to TinyMCE popup.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#storeAwayURLs">storeAwayURLs</A></B>(&lt;string&gt; s)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Stores away the src and href attribute values in separate mce_src and mce_href attributes.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#submitPatch">submitPatch</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Piggyback onsubmit event handler function, this will remove/hide the TinyMCE specific form elements
call triggerSave to fill the textarea with the correct contents then call the old piggy backed event handler.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#switchClass">switchClass</A></B>(&lt;HTMLElement&gt; ei, &lt;string&gt; c)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Switches the CSS class of the specified element.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#triggerNodeChange">triggerNodeChange</A></B>(&lt;boolean&gt; focus, &lt;boolean&gt; setup_content)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Triggers a nodeChange event to every theme and plugin.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#triggerSave">triggerSave</A></B>(&lt;boolean&gt; skip_cleanup, &lt;boolean&gt; skip_callback)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Moves the contents from a TinyMCE editor control instance to the hidden textarea
that got replaced with TinyMCE.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#trim">trim</A></B>(&lt;string&gt; s)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Removes all prefix, suffix whitespace of a string.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#unloadHandler">unloadHandler</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Unload document event handler function.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#updateContent">updateContent</A></B>(&lt;string&gt; form_element_name)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Moves the contents from the hidden textarea to the editor that gets inserted.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#xmlEncode">xmlEncode</A></B>(&lt;string&gt; s)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Encodes the string to raw XML entities.
</TD>
</TR>
</TABLE>
<P>
<!-- ========== END METHOD SUMMARY =========== -->
<!-- ============ FIELD DETAIL START =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="buttonMap"><!-- --></A>
<H3>buttonMap</H3>
<PRE>Object&nbsp;<B>buttonMap</B></PRE>
<UL>
</UL>
<HR>
<A NAME="configs"><!-- --></A>
<H3>configs</H3>
<PRE>Object&nbsp;<B>configs</B></PRE>
<UL>
</UL>
<HR>
<A NAME="currentConfig"><!-- --></A>
<H3>currentConfig</H3>
<PRE>Object&nbsp;<B>currentConfig</B></PRE>
<UL>
</UL>
<HR>
<A NAME="dialogCounter"><!-- --></A>
<H3>dialogCounter</H3>
<PRE>Object&nbsp;<B>dialogCounter</B></PRE>
<UL>
</UL>
<HR>
<A NAME="eventHandlers"><!-- --></A>
<H3>eventHandlers</H3>
<PRE>Object&nbsp;<B>eventHandlers</B></PRE>
<UL>
</UL>
<HR>
<A NAME="idCounter"><!-- --></A>
<H3>idCounter</H3>
<PRE>Object&nbsp;<B>idCounter</B></PRE>
<UL>
</UL>
<HR>
<A NAME="instances"><!-- --></A>
<H3>instances</H3>
<PRE>Object&nbsp;<B>instances</B></PRE>
<UL>
</UL>
<HR>
<A NAME="isGecko"><!-- --></A>
<H3>isGecko</H3>
<PRE>Object&nbsp;<B>isGecko</B></PRE>
<UL>
</UL>
<HR>
<A NAME="isLoaded"><!-- --></A>
<H3>isLoaded</H3>
<PRE>Object&nbsp;<B>isLoaded</B></PRE>
<UL>
</UL>
<HR>
<A NAME="isMac"><!-- --></A>
<H3>isMac</H3>
<PRE>Object&nbsp;<B>isMac</B></PRE>
<UL>
</UL>
<HR>
<A NAME="isMSIE"><!-- --></A>
<H3>isMSIE</H3>
<PRE>Object&nbsp;<B>isMSIE</B></PRE>
<UL>
</UL>
<HR>
<A NAME="isMSIE5"><!-- --></A>
<H3>isMSIE5</H3>
<PRE>Object&nbsp;<B>isMSIE5</B></PRE>
<UL>
</UL>
<HR>
<A NAME="isMSIE5_0"><!-- --></A>
<H3>isMSIE5_0</H3>
<PRE>Object&nbsp;<B>isMSIE5_0</B></PRE>
<UL>
</UL>
<HR>
<A NAME="isNS7"><!-- --></A>
<H3>isNS7</H3>
<PRE>Object&nbsp;<B>isNS7</B></PRE>
<UL>
</UL>
<HR>
<A NAME="isNS71"><!-- --></A>
<H3>isNS71</H3>
<PRE>Object&nbsp;<B>isNS71</B></PRE>
<UL>
</UL>
<HR>
<A NAME="isOpera"><!-- --></A>
<H3>isOpera</H3>
<PRE>Object&nbsp;<B>isOpera</B></PRE>
<UL>
</UL>
<HR>
<A NAME="isSafari"><!-- --></A>
<H3>isSafari</H3>
<PRE>Object&nbsp;<B>isSafari</B></PRE>
<UL>
</UL>
<HR>
<A NAME="loadedFiles"><!-- --></A>
<H3>loadedFiles</H3>
<PRE>Object&nbsp;<B>loadedFiles</B></PRE>
<UL>
</UL>
<HR>
<A NAME="loadedPlugins"><!-- --></A>
<H3>loadedPlugins</H3>
<PRE>Object&nbsp;<B>loadedPlugins</B></PRE>
<UL>
</UL>
<HR>
<A NAME="majorVersion"><!-- --></A>
<H3>majorVersion</H3>
<PRE>Object&nbsp;<B>majorVersion</B></PRE>
<UL>
</UL>
<HR>
<A NAME="menus"><!-- --></A>
<H3>menus</H3>
<PRE>Object&nbsp;<B>menus</B></PRE>
<UL>
</UL>
<HR>
<A NAME="minorVersion"><!-- --></A>
<H3>minorVersion</H3>
<PRE>Object&nbsp;<B>minorVersion</B></PRE>
<UL>
</UL>
<HR>
<A NAME="plugins"><!-- --></A>
<H3>plugins</H3>
<PRE>Object&nbsp;<B>plugins</B></PRE>
<UL>
</UL>
<HR>
<A NAME="releaseDate"><!-- --></A>
<H3>releaseDate</H3>
<PRE>Object&nbsp;<B>releaseDate</B></PRE>
<UL>
</UL>
<HR>
<A NAME="switchClassCache"><!-- --></A>
<H3>switchClassCache</H3>
<PRE>Object&nbsp;<B>switchClassCache</B></PRE>
<UL>
</UL>
<HR>
<A NAME="themes"><!-- --></A>
<H3>themes</H3>
<PRE>Object&nbsp;<B>themes</B></PRE>
<UL>
</UL>
<HR>
<A NAME="windowArgs"><!-- --></A>
<H3>windowArgs</H3>
<PRE>Object&nbsp;<B>windowArgs</B></PRE>
<UL>
</UL>
<HR>
<!-- ============ FIELD DETAIL END =========== -->
<!-- ========= CONSTRUCTOR DETAIL START ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1>
<FONT SIZE="+2"><B>Constructor Detail</B></FONT>
</TD>
</TR>
</TABLE>
<A NAME="TinyMCE_Engine()"><!-- --></A><H3>
TinyMCE_Engine</H3>
<PRE><B>TinyMCE_Engine</B>()</PRE>
<UL>
Core engine class for TinyMCE, a instance of this class is available as a global called tinyMCE.
</UL>
</UL>
<!-- Constructor return value(s) -->
<!-- End constructor return value(s) -->
<!-- ADDITIONAL ATTRIBUTES -->
<HR/>
<!-- END ADDITIONAL ATTRIBUTES -->
<!-- ========= CONSTRUCTOR DETAIL END ======== -->
<!-- ============ METHOD DETAIL START ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT>
</TD>
</TR>
</TABLE>
<!-- One single method detail entry -->
<A NAME="_getElementById"><!-- --></A>
<H3>_getElementById</H3>
<PRE>HTMLElement <B>_getElementById</B>(&lt;string&gt; i&lt;DOMDocument&gt; d, d)</PRE>
<UL>Returns a element by id, this will also search the form names to match the id.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>id</CODE> - Id of element.
</UL>
<UL><CODE>d</CODE> - Optional document.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
HTML element that matches the id.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="_removeInternal"><!-- --></A>
<H3>_removeInternal</H3>
<PRE>void <B>_removeInternal</B>(&lt;DOMNode&gt; n)</PRE>
<UL>Removes any internal content inserted by regexps.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - Node to remove internal content from.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="accessibleEventHandler"><!-- --></A>
<H3>accessibleEventHandler</H3>
<PRE>Object <B>accessibleEventHandler</B>(&lt;DOMEvent&gt; e)</PRE>
<UL>Accessibility handler that gets executed when the user hits a key in a select element.
This handler trams the enter/return or space key and then executes the onchange event handler.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>e</CODE> - DOM event object instance.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="addButtonMap"><!-- --></A>
<H3>addButtonMap</H3>
<PRE>void <B>addButtonMap</B>(&lt;string&gt; m)</PRE>
<UL>Adds a list of buttons available in the tiled button image used by the button_tile_map option.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>m</CODE> - Comma separated list of buttons that are available in tiled image.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="addCSSClass"><!-- --></A>
<H3>addCSSClass</H3>
<PRE>string <B>addCSSClass</B>(&lt;HTMLElement&gt; e, c, b)</PRE>
<UL>Adds a CSS class to the specified element. It will remove any previous item with the same name
so adding a class that already exists will move it to the end.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>e</CODE> - HTML element to add CSS class to.
</UL>
<UL><CODE>string</CODE> - ] c CSS class to add to HTML element.
</UL>
<UL><CODE>boolean</CODE> - ] b Optional parameter, if set to true, class will be added to the beginning.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Returns the new class attribute value.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="addEvent"><!-- --></A>
<H3>addEvent</H3>
<PRE>void <B>addEvent</B>(&lt;HTMLElement&gt; o, &lt;string&gt; n, &lt;function&gt; h)</PRE>
<UL>Adds a event handler function to the specified object.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>o</CODE> - Object to add event handler to.
</UL>
<UL><CODE>n</CODE> - Event name to listen to for example "click".
</UL>
<UL><CODE>h</CODE> - Function handler to execute when event occurs.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="addEventHandlers"><!-- --></A>
<H3>addEventHandlers</H3>
<PRE>void <B>addEventHandlers</B>(&lt;inst&gt; inst)</PRE>
<UL>Adds the handleEvent function to the specified editor instance.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>inst</CODE> - Editor control instance to add event handler to.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="addMCEControl"><!-- --></A>
<H3>addMCEControl</H3>
<PRE>void <B>addMCEControl</B>(&lt;HTMLElement&gt; replace_element, &lt;string&gt; form_element_name, &lt;DOMDocument&gt; target_document)</PRE>
<UL>Adds a TinyMCE editor control instance to a specific form element.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>replace_element</CODE> - HTML element object to replace.
</UL>
<UL><CODE>form_element_name</CODE> - HTML form element name,
</UL>
<UL><CODE>target_document</CODE> - Target document that holds the element.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="addMenu"><!-- --></A>
<H3>addMenu</H3>
<PRE>void <B>addMenu</B>(&lt;string&gt; n, &lt;TinyMCE_Menu&gt; m)</PRE>
<UL>Adds a floating menu instance to TinyMCE.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - TinyMCE menu id.
</UL>
<UL><CODE>m</CODE> - TinyMCE menu instance.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="addPlugin"><!-- --></A>
<H3>addPlugin</H3>
<PRE>void <B>addPlugin</B>(n, &lt;TinyMCE_Plugin&gt; p)</PRE>
<UL>Adds the specified plugin to the list of loaded plugins, this will also setup the baseURL
property of the plugin.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>p</CODE> - Plugin instance to add.
</UL>
<UL><CODE>Plugin</CODE> - name/id.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="addSelectAccessibility"><!-- --></A>
<H3>addSelectAccessibility</H3>
<PRE>Object <B>addSelectAccessibility</B>(&lt;DOMEvent&gt; e, &lt;HTMLElement&gt; s, &lt;DOMWindow&gt; w)</PRE>
<UL>Adds accessibility keydown handler to the specified select element.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>e</CODE> - Event that gets passed when the element is focused.
</UL>
<UL><CODE>s</CODE> - Select element that the keydown handler gets added to.
</UL>
<UL><CODE>w</CODE> - DOM window reference to add.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="addTheme"><!-- --></A>
<H3>addTheme</H3>
<PRE>void <B>addTheme</B>(&l&lt;TinyMCE_Theme&gt; t;string&gt; n, t)</PRE>
<UL>Adds the specified theme in to the list of loaded themes.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - Theme name/id to add the object reference to.
</UL>
<UL><CODE>t</CODE> - Theme instance to add to the loaded list.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="addToLang"><!-- --></A>
<H3>addToLang</H3>
<PRE>void <B>addToLang</B>(&lt;string&gt; prefix, &lt;Array&gt; ar)</PRE>
<UL>Adds language items to the global language array.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>prefix</CODE> - Prefix string to add infront of every array item before adding it.
</UL>
<UL><CODE>ar</CODE> - Language item array to add to global language array.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="applyTemplate"><!-- --></A>
<H3>applyTemplate</H3>
<PRE>string <B>applyTemplate</B>(&lt;string&gt; h, &lt;Array&gt; as)</PRE>
<UL>Replaces language, args and settings variables in a HTML string.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>h</CODE> - HTML string to replace language variables in.
</UL>
<UL><CODE>as</CODE> - Optional arguments array to take variables from.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
HTML string with replaced varliables.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="callFunc"><!-- --></A>
<H3>callFunc</H3>
<PRE>boolean <B>callFunc</B>(&lt;<&lt;Array&gt; a href="TinyMCE_Control.html">TinyMCE_Control</a>&gt; ins, &lt;string&gt; p, &lt;string&gt; n, &lt;int&gt; m, a)</PRE>
<UL>Executes callback chain. Callback TinyMCE_Engine.prototype.order = Option; Plugins, Themes.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>ins</CODE> - TinyMCE editor control instance to execute callback on.
</UL>
<UL><CODE>p</CODE> - TinyMCE callback parameter name.
</UL>
<UL><CODE>n</CODE> - Function name to execute.
</UL>
<UL><CODE>m</CODE> - Execution mode value, 0 = no chain, 1 = event chain, 2 = execcommand chain.
</UL>
<UL><CODE>a</CODE> - Array with function arguments.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
true - if the callback was executed, false if it wasn't.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="cancelEvent"><!-- --></A>
<H3>cancelEvent</H3>
<PRE>void <B>cancelEvent</B>(&lt;DOMEvent&gt; e)</PRE>
<UL>Cancels the specified event, this will disable the event from be passed to other listeners in event chain.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>e</CODE> - Event to cancel.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="cleanupAnchors"><!-- --></A>
<H3>cleanupAnchors</H3>
<PRE>void <B>cleanupAnchors</B>(&lt;DOMDocument&gt; doc)</PRE>
<UL>Moves the contents of a anchor outside and after the anchor. Only if the anchor doesn't
have a href.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>doc</CODE> - DOM document instance to fix anchors in.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="cleanupEventStr"><!-- --></A>
<H3>cleanupEventStr</H3>
<PRE>string <B>cleanupEventStr</B>(&lt;string&gt; s)</PRE>
<UL>Removes MSIE 5.5 specific event wrapper function form a event string.
This will also remove the event blocker if it's added in front of the event.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>s</CODE> - String to replace event data in.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Replaced string value.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="cleanupHTMLCode"><!-- --></A>
<H3>cleanupHTMLCode</H3>
<PRE>string <B>cleanupHTMLCode</B>(&lt;string&gt; s)</PRE>
<UL>Makes some preprocessing cleanup routines on the specified HTML string.
This includes forcing some tags to be open so MSIE doesn't fail. Forcing other to close and
padding paragraphs with non breaking spaces. This function is used when the editor gets
initialized with content.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>s</CODE> - HTML string to cleanup.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Cleaned HTML string.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="clearArray"><!-- --></A>
<H3>clearArray</H3>
<PRE>Array <B>clearArray</B>(a)</PRE>
<UL>Returns a cleared array, since some external libraries tend to extend the Array core object
arrays needs to be cleaned from these extended functions. So this function simply sets any
named properties back to null.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>Name</CODE> - /Value array to clear.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Cleared name/value array.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="closeWindow"><!-- --></A>
<H3>closeWindow</H3>
<PRE>void <B>closeWindow</B>(&lt;DOMWindow&gt; win)</PRE>
<UL>Closes the specified window. This function is deprecated and should be replaced with
tinyMCEPopup.close();.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>win</CODE> - Window reference to close.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<UL>
<B>Deprecated</B> <I></I><BR/><BR/>
</UL>
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="compressStyle"><!-- --></A>
<H3>compressStyle</H3>
<PRE>void <B>compressStyle</B>(&lt;Array&gt; ar, &lt;string&gt; pr, &lt;string&gt; sf, &lt;string&gt; res)</PRE>
<UL>Compresses larger styles into a smaller. Since MSIE automaticly converts
border: 1px solid red to border-left: 1px solid red, border-righ: 1px solid red and so forth.'
This will bundle them together again if the information is the same in each item.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>ar</CODE> - Style name/value array with items.
</UL>
<UL><CODE>pr</CODE> - Style item prefix to bundle for example border.
</UL>
<UL><CODE>sf</CODE> - Style item suffix to bunlde for example -width or -width.
</UL>
<UL><CODE>res</CODE> - Result name, for example border-width.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="confirmAdd"><!-- --></A>
<H3>confirmAdd</H3>
<PRE>void <B>confirmAdd</B>(&lt;DOMEvent&gt; e, &lt;Array&gt; settings)</PRE>
<UL>Displays a confirm dialog when a user clicks/focus a textarea that is to be converted into
a TinyMCE instance.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>e</CODE> - DOM event instance.
</UL>
<UL><CODE>settings</CODE> - Name/Value array of initialization settings.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="convertAbsoluteURLToRelativeURL"><!-- --></A>
<H3>convertAbsoluteURLToRelativeURL</H3>
<PRE>string <B>convertAbsoluteURLToRelativeURL</B>(&lt;string&gt; base_url, &lt;string&gt; url_to_relative)</PRE>
<UL>Converts an absolute path to relative path.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>base_url</CODE> - URL to make as a base path, URLs will be converted relative from this point.
</UL>
<UL><CODE>url_to_relative</CODE> - URL to convert into a relative URL.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Relative URL based in input.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="convertAllRelativeURLs"><!-- --></A>
<H3>convertAllRelativeURLs</H3>
<PRE>void <B>convertAllRelativeURLs</B>(&lt;HTMLElement&gt; body)</PRE>
<UL>Converts all img and a element URLs to absolute URLs. This will use the mce_src or mce_href attribute values
if they are provided. This function is used when the editor is initialized.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>body</CODE> - HTML element to convert all URLs in.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="convertFontsToSpans"><!-- --></A>
<H3>convertFontsToSpans</H3>
<PRE>void <B>convertFontsToSpans</B>(&lt;DOMDocument&gt; doc)</PRE>
<UL>Convers fonts to spans in the specified document.
Todo: Move this function into a XHTML plugin or simmilar.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>doc</CODE> - Document instance to convert fonts in.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="convertHexToRGB"><!-- --></A>
<H3>convertHexToRGB</H3>
<PRE>string <B>convertHexToRGB</B>(&lt;string&gt; s)</PRE>
<UL>Returns a rgb(n,n,n) string from a hexadecimal value.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>s</CODE> - Hexadecimal string to parse.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
rgb(n,n,n) string from a hexadecimal value.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="convertRelativeToAbsoluteURL"><!-- --></A>
<H3>convertRelativeToAbsoluteURL</H3>
<PRE>string <B>convertRelativeToAbsoluteURL</B>(&lt;string&gt; base_url, &lt;string&gt; relative_url)</PRE>
<UL>Converts an relative path to absolute path.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>base_url</CODE> - URL to make as a base path, URLs will be converted absolute from this point.
</UL>
<UL><CODE>relative_url</CODE> - URL to convert into a absolute URL.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Absolute URL based in input.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="convertRGBToHex"><!-- --></A>
<H3>convertRGBToHex</H3>
<PRE>string <B>convertRGBToHex</B>(&lt;string&gt; s, &lt;boolean&gt; k)</PRE>
<UL>Returns a hexadecimal version of the specified rgb(1,2,3) string.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>s</CODE> - RGB string to parse, if this doesn't isn't a rgb(n,n,n) it will passthrough the string.
</UL>
<UL><CODE>k</CODE> - Keep before/after contents. If enabled contents before after the rgb(n,n,n) will be intact.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Hexadecimal version of the specified rgb(1,2,3) string.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="convertSpansToFonts"><!-- --></A>
<H3>convertSpansToFonts</H3>
<PRE>void <B>convertSpansToFonts</B>(&lt;DOMDocument&gt; doc)</PRE>
<UL>Converts span elements to font elements in the specified document instance.
Todo: Move this function into a XHTML plugin or simmilar.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>doc</CODE> - Document instance to convert spans in.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="convertURL"><!-- --></A>
<H3>convertURL</H3>
<PRE>string <B>convertURL</B>(&lt;string&gt; url, &lt;HTMLElement&gt; node, &lt;boolean&gt; on_save)</PRE>
<UL>Converts the specified URL based in TinyMCE configuration settings.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>url</CODE> - URL to convert based on config.
</UL>
<UL><CODE>node</CODE> - HTML element that holds the URL.
</UL>
<UL><CODE>on_save</CODE> - Is this convertion the final output URL.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Converted URL string.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="debug"><!-- --></A>
<H3>debug</H3>
<PRE>void <B>debug</B>()</PRE>
<UL>Debugs the specified message to a screen.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>Numerous</CODE> - arguments that will be outputed.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="dispatchCallback"><!-- --></A>
<H3>dispatchCallback</H3>
<PRE>Object <B>dispatchCallback</B>(&lt;<a href="TinyMCE_Control.html">TinyMCE_Control</a>&gt; i, &lt;string&gt; p, &lt;string&gt; n)</PRE>
<UL>Dispatches the specified callback on all options, plugins and themes. This will not
chain them, so all functions callbacks will be executed regardless if the return true/false.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>i</CODE> - TinyMCE editor control instance to execute callback on.
</UL>
<UL><CODE>p</CODE> - TinyMCE callback parameter to execute.
</UL>
<UL><CODE>n</CODE> - Function name to execute.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
true/false if they where dispatched.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="entityDecode"><!-- --></A>
<H3>entityDecode</H3>
<PRE>string <B>entityDecode</B>(&lt;string&gt; s)</PRE>
<UL>HTML entity decode a string, replaces &lt; with <.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>s</CODE> - Entity string to decode into normal string.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Entity decoded string.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="evalFunc"><!-- --></A>
<H3>evalFunc</H3>
<PRE>object <B>evalFunc</B>(&lt;string&gt; f, &lt;int&gt; idx, &lt;Array&gt; a)</PRE>
<UL>Evaluates the specified function and uses the array of arguments.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>f</CODE> - Function reference to execute.
</UL>
<UL><CODE>idx</CODE> - Index in array to start grabbing arguments from.
</UL>
<UL><CODE>a</CODE> - Array of function arguments.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Value returned from the evaluated function.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="execCommand"><!-- --></A>
<H3>execCommand</H3>
<PRE>void <B>execCommand</B>(&lt;string&gt; command, &lt;boolean&gt; user_interface, &lt;object&gt; value)</PRE>
<UL>Executes a command on the selected or last selected TinyMCE editor control instance. This function also handles
some non instance specific commands like mceAddControl, mceRemoveControl, mceHelp or mceFocus.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>command</CODE> - Command name to execute, for example mceLink or Bold.
</UL>
<UL><CODE>user_interface</CODE> - True/false state if a UI (dialog) should be presented or not.
</UL>
<UL><CODE>value</CODE> - Optional command value, this can be anything.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="execCommandCallback"><!-- --></A>
<H3>execCommandCallback</H3>
<PRE>Object <B>execCommandCallback</B>(&lt;<a href="TinyMCE_Control.html">TinyMCE_Control</a>&gt; i, &lt;string&gt; p, &lt;string&gt; n)</PRE>
<UL>Executes the specified execcommand callback on all options, plugins and themes. This will
chain them, so callback chain will be broken if one function returns true.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>i</CODE> - TinyMCE editor control instance to execute callback on.
</UL>
<UL><CODE>p</CODE> - TinyMCE callback parameter to execute.
</UL>
<UL><CODE>n</CODE> - Function name to execute.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
true/false if a callback was executed.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="execInstanceCommand"><!-- --></A>
<H3>execInstanceCommand</H3>
<PRE>void <B>execInstanceCommand</B>(&lt;string&gt; editor_id, &lt;string&gt; command, &lt;boolean&gt; user_interface, &lt;object&gt; value, &lt;boolean&gt; focus)</PRE>
<UL>Executes a command on a specific editor instance by id.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>editor_id</CODE> - TinyMCE editor control instance id to perform comman on.
</UL>
<UL><CODE>command</CODE> - Command name to execute, for example mceLink or Bold.
</UL>
<UL><CODE>user_interface</CODE> - True/false state if a UI (dialog) should be presented or not.
</UL>
<UL><CODE>value</CODE> - Optional command value, this can be anything.
</UL>
<UL><CODE>focus</CODE> - True/false if the editor instance should be focused first.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="executeCallback"><!-- --></A>
<H3>executeCallback</H3>
<PRE>Object <B>executeCallback</B>(&lt;<a href="TinyMCE_Control.html">TinyMCE_Control</a>&gt; i, &lt;string&gt; p, &lt;string&gt; n)</PRE>
<UL>Executes the specified callback on all options, plugins and themes. This will
chain them, so callback chain will be broken if one function returns false.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>i</CODE> - TinyMCE editor control instance to execute callback on.
</UL>
<UL><CODE>p</CODE> - TinyMCE callback parameter to execute.
</UL>
<UL><CODE>n</CODE> - Function name to execute.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
true/false if a callback was executed.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="explode"><!-- --></A>
<H3>explode</H3>
<PRE>Array <B>explode</B>(&lt;string&gt; d, &lt;string&gt; s)</PRE>
<UL>Splits a string by the specified delimiter and skips any empty items.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>d</CODE> - Delimiter to split by.
</UL>
<UL><CODE>s</CODE> - String to split.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Array with chunks from string.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="extend"><!-- --></A>
<H3>extend</H3>
<PRE>Object <B>extend</B>(&lt;Object&gt; p, &lt;Object&gt; np)</PRE>
<UL>Extends the specified prototype with new methods.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>p</CODE> - Prototype to extend with new methods.
</UL>
<UL><CODE>np</CODE> - New prototype to extend the other one with.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Extended prototype array.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="fixGeckoBaseHREFBug"><!-- --></A>
<H3>fixGeckoBaseHREFBug</H3>
<PRE>string <B>fixGeckoBaseHREFBug</B>(&lt;boolean&gt; m, &lt;HTMLElement&gt; e, &lt;string&gt; h)</PRE>
<UL>Fixes a Gecko specific bug where href, src attribute values gets converted incorrectly
when inserted into editor. This function will replace all src, href with mce_tsrc and mce_thref
to keep the values from chaging when they get inserted.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>m</CODE> - Mode state, true is to replace the src, href attributes to mce_tsrc and mce_thref.
</UL>
<UL><CODE>e</CODE> - HTML element to replace them in. (Will be used if m is 0)
</UL>
<UL><CODE>h</CODE> - HTML code to replace them in. (Will be used if m is 1)
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Converted string or the specified HTML value depending on mode.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getAbsPosition"><!-- --></A>
<H3>getAbsPosition</H3>
<PRE>TinyMCE_ElementPosition <B>getAbsPosition</B>(&lt;HTMLNode&gt; n)</PRE>
<UL>Returns the absolute x, y position of a node. The position will be returned in a object with
two properties absLeft and absTop.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - HTML element to get x, y position from.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Absolute position of the specified element.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getAttrib"><!-- --></A>
<H3>getAttrib</H3>
<PRE>string <B>getAttrib</B>(&lt;HTMLElement&gt; elm, &lt;string&gt; name, &lt;string&gt; default_value)</PRE>
<UL>Returns the attribute value of a element or the default value if it wasn't found.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>elm</CODE> - HTML element to get attribute from.
</UL>
<UL><CODE>name</CODE> - Attribute name to retrive.
</UL>
<UL><CODE>default_value</CODE> - Optional default value to return, this value defaults to a empty string.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Attribute value or default value if it wasn't found in element.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getButtonHTML"><!-- --></A>
<H3>getButtonHTML</H3>
<PRE>string <B>getButtonHTML</B>(&lt;string&gt; id, &lt;string&gt; lang, &lt;string&gt; img, &lt;string&gt; cmd, &lt;string&gt; ui, &lt;string&gt; val)</PRE>
<UL>Returns the HTML code for a normal button control.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>id</CODE> - Button control id, this will be the suffix for the element id, the prefix is the editor id.
</UL>
<UL><CODE>lang</CODE> - Language variable key name to insert as the title/alt of the button image.
</UL>
<UL><CODE>img</CODE> - Image URL to insert, {$themeurl} and {$pluginurl} will be replaced.
</UL>
<UL><CODE>cmd</CODE> - Command to execute when the user clicks the button.
</UL>
<UL><CODE>ui</CODE> - Optional user interface boolean for command.
</UL>
<UL><CODE>val</CODE> - Optional value for command.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
HTML code for a normal button based in input information.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getContent"><!-- --></A>
<H3>getContent</H3>
<PRE>string <B>getContent</B>(&lt;string&gt; editor_id)</PRE>
<UL>Returns the HTML contents of the specified editor instance id.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>editor_id</CODE> - Editor instance id to retrive HTML code from.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
HTML contents of editor id or null if it wasn't found.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getControlHTML"><!-- --></A>
<H3>getControlHTML</H3>
<PRE>string <B>getControlHTML</B>(&lt;string&gt; c)</PRE>
<UL>Returns the HTML for the specified control this will loop through
the theme and all plugins inorder to find the control. The callback for each
theme and plugin is called getControlHTML.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>c</CODE> - Control name/id to get HTML code for.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
HTML code for the specified control or empty string if it wasn't found.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getCSSClasses"><!-- --></A>
<H3>getCSSClasses</H3>
<PRE>Array <B>getCSSClasses</B>(&lt;string&gt; editor_id, &lt;DOMDocument&gt; doc)</PRE>
<UL>Returns a array of CSS classes that is available in a document.
TinyMCE_Engine.prototype.Todo = Fix;this one, it's so ugly. :)</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>editor_id</CODE> - Editor id to get CSS classes from.
</UL>
<UL><CODE>doc</CODE> - DOM document to get the CSS classes from.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Array of CSS classes that is available in a document.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getEditorId"><!-- --></A>
<H3>getEditorId</H3>
<PRE>string <B>getEditorId</B>(&lt;string&gt; form_element)</PRE>
<UL>Returns the editor instance id of a specific form element.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>form_element</CODE> - Form element name to get instance id for.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
TinyMCE editor instance id or null if it wasn't found.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getElementByAttributeValue"><!-- --></A>
<H3>getElementByAttributeValue</H3>
<PRE>HTMLElement <B>getElementByAttributeValue</B>(&lt;HTMLElement&gt; n, &lt;string&gt; e, &lt;string&gt; a, &lt;string&gt; v)</PRE>
<UL>Returns a element by a specific attribute and it's value.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - Element to search in.
</UL>
<UL><CODE>e</CODE> - Element name to search for.
</UL>
<UL><CODE>a</CODE> - Attribute name to search for.
</UL>
<UL><CODE>v</CODE> - Attribute value to search for.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
HTML element that matched the criterias or null on failure.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getElementsByAttributeValue"><!-- --></A>
<H3>getElementsByAttributeValue</H3>
<PRE>Array <B>getElementsByAttributeValue</B>(&lt;HTMLElement&gt; n, &lt;string&gt; e, &lt;string&gt; a, &lt;string&gt; v)</PRE>
<UL>Returns a element array by a specific attribute and it's value.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - Element to search in.
</UL>
<UL><CODE>e</CODE> - Element name to search for.
</UL>
<UL><CODE>a</CODE> - Attribute name to search for.
</UL>
<UL><CODE>v</CODE> - Attribute value to search for.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
HTML element array that matched the criterias or null on failure.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getInstanceById"><!-- --></A>
<H3>getInstanceById</H3>
<PRE><a href="TinyMCE_Control.html">TinyMCE_Control</a> <B>getInstanceById</B>(&lt;string&gt; editor_id)</PRE>
<UL>Returns a TinyMCE editor instance by the specified editor id or null if it wasn't found.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>editor_id</CODE> - Editor id to get instance for.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
TinyMCE editor control instance or null if it wasn't found.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getLang"><!-- --></A>
<H3>getLang</H3>
<PRE>object <B>getLang</B>(&lt;string&gt; name, &lt;string&gt; default_value, &lt;boolean&gt; parse_entities, &lt;Array&gt; va)</PRE>
<UL>Returns a language variable value from the language packs.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>name</CODE> - Name of the key to retrive.
</UL>
<UL><CODE>default_value</CODE> - Optional default value to return if it wasn't found.
</UL>
<UL><CODE>parse_entities</CODE> - Is HTML entities to be resolved or not.
</UL>
<UL><CODE>va</CODE> - Optional name/value array of variables to replace in language string.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Language string value could be a number if it's a relative dimenstion.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getNodeTree"><!-- --></A>
<H3>getNodeTree</H3>
<PRE>Array <B>getNodeTree</B>(&l&lt;int&gt; t;HTMLNode&gt; n, &lt;Array&gt; na, t, &lt;string&gt; nn)</PRE>
<UL>Returns a array of nodes selected retrived from the child nodes of the specified node.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - Node to get children from.
</UL>
<UL><CODE>na</CODE> - Array to fill with children.
</UL>
<UL><CODE>t</CODE> - Node type to get.
</UL>
<UL><CODE>nn</CODE> - Node name of items to retrive.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Node array.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getOuterHTML"><!-- --></A>
<H3>getOuterHTML</H3>
<PRE>string <B>getOuterHTML</B>(&lt;HTMLElement&gt; e)</PRE>
<UL>Returns the outer HTML of a element, this uses the outerHTML
property in MSIE and Opera and a workaround for Gecko.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>e</CODE> - HTML element to get outerHTML from.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
HTML content string.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getParam"><!-- --></A>
<H3>getParam</H3>
<PRE>object <B>getParam</B>(&lt;string&gt; name, &lt;string&gt; default_value, &lt;boolean&gt; strip_whitespace, &lt;string&gt; split_chr)</PRE>
<UL>Returns a specific configuration setting or the default value if it wasn't found.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>name</CODE> - Configuration setting to get.
</UL>
<UL><CODE>default_value</CODE> - Default value to return if it wasn't found.
</UL>
<UL><CODE>strip_whitespace</CODE> - Optional remove all whitespace.
</UL>
<UL><CODE>split_chr</CODE> - Split char/regex/string.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Number, string or other object based in parameter and default_value.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getParentBlockElement"><!-- --></A>
<H3>getParentBlockElement</H3>
<PRE>HTMLElement <B>getParentBlockElement</B>(&lt;HTMLNode&gt; n)</PRE>
<UL>Returns the first block element parent of the specified node.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - Node get parent block element for.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
First block element parent of the specified node or null if it wasn't found.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getParentElement"><!-- --></A>
<H3>getParentElement</H3>
<PRE>HTMLElement <B>getParentElement</B>(&lt;HTMLNode&gt; node, &lt;string&gt; names, &lt;string&gt; attrib_name, &lt;string&gt; attrib_value)</PRE>
<UL>Returns the parent element of the specified node based on the search criteria.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>node</CODE> - Node to get parent element of.
</UL>
<UL><CODE>names</CODE> - Comma separated list of element names to get.
</UL>
<UL><CODE>attrib_name</CODE> - Optional attribute name to match.
</UL>
<UL><CODE>attrib_value</CODE> - Optional attribute value to match.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
HTMLElement or null based on search criteras.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getParentNode"><!-- --></A>
<H3>getParentNode</H3>
<PRE>DOMNode <B>getParentNode</B>(&lt;DOMNode&gt; n, &lt;function&gt; f)</PRE>
<UL>Returns a node by the specified selector function. This function will
loop through all parent nodes and call the specified function for each node.
If the function then returns true it will stop the execution and return that node.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - HTML node to search parents on.
</UL>
<UL><CODE>f</CODE> - Selection function to execute on each node.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
DOMNode or null if it wasn't found.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getVisualAidClass"><!-- --></A>
<H3>getVisualAidClass</H3>
<PRE>string <B>getVisualAidClass</B>(&lt;string&gt; class_name, &lt;boolean&gt; state)</PRE>
<UL>Returns the visual aid class string, this will add/remove the visual aid class.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>class_name</CODE> - Class name value to add/remove visual aid classes from.
</UL>
<UL><CODE>state</CODE> - true/false if the classes should be added or removed.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
New class value containing the visual aid classes or not.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getWindowArg"><!-- --></A>
<H3>getWindowArg</H3>
<PRE>Object <B>getWindowArg</B>(&lt;string&gt; n, d)</PRE>
<UL>Returns the window argument to be passed to TinyMCE popup.
TinyMCE_Engine.prototype.Use = tinyMCEPopup;.getWindowArg instead.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - Window argument name.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Argument value or default value if it wasn't found.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<UL>
<B>Deprecated</B> <I></I><BR/><BR/>
</UL>
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="handleEvent"><!-- --></A>
<H3>handleEvent</H3>
<PRE>boolean <B>handleEvent</B>(&lt;DOMEvent&gt; e)</PRE>
<UL>Event handler function that gets executed each time a event occurs in a TinyMCE editor control instance.
TinyMCE_Engine.prototype.Todo = Fix;the return statements so they return true or false.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>e</CODE> - DOM event object reference.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
true - if the event is to be chained, false - if the event chain is to be canceled.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="handleVisualAid"><!-- --></A>
<H3>handleVisualAid</H3>
<PRE>void <B>handleVisualAid</B>(&lt;HTMLElement&gt; el, &lt;boolean&gt; deep, &lt;boolean&gt; state, &lt;<a href="TinyMCE_Control.html">TinyMCE_Control</a>&gt; inst, skip_dispatch)</PRE>
<UL>Adds visual aid classes to all elements that need them recursive in the DOM tree.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>el</CODE> - HTML element to add visual aid classes to.
</UL>
<UL><CODE>deep</CODE> - Should they be added to all children aswell.
</UL>
<UL><CODE>state</CODE> - Should they be added or removed.
</UL>
<UL><CODE>inst</CODE> - TinyMCE editor control instance to add/remove them to/from.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="hasMenu"><!-- --></A>
<H3>hasMenu</H3>
<PRE>boolean <B>hasMenu</B>(&lt;string&gt; n)</PRE>
<UL>Checks if the specified menu by name is added to TinyMCE.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - TinyMCE menu id.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
true/false if it exists or not.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="hasPlugin"><!-- --></A>
<H3>hasPlugin</H3>
<PRE>boolean <B>hasPlugin</B>(&lt;string&gt; n)</PRE>
<UL>Returns true/false if the specified plugin is loaded or not.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - Plugin name to look for.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
true/false if the specified plugin is loaded or not.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="hasTheme"><!-- --></A>
<H3>hasTheme</H3>
<PRE>boolean <B>hasTheme</B>(&lt;string&gt; n)</PRE>
<UL>Returns true/false if the specified theme is loaded or not.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - Theme name/id to check for.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
true/false if the specified theme is loaded or not.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="importCSS"><!-- --></A>
<H3>importCSS</H3>
<PRE>void <B>importCSS</B>(&lt;DOMDocument&gt; doc, &lt;string&gt; css)</PRE>
<UL>Imports a CSS file into a allready loaded document. This will add a link element
to the head element of the document.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>doc</CODE> - DOM Document to load CSS into.
</UL>
<UL><CODE>css</CODE> - CSS File URL to load or comma separated list of files.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="importPluginLanguagePack"><!-- --></A>
<H3>importPluginLanguagePack</H3>
<PRE>void <B>importPluginLanguagePack</B>(&lt;string&gt; name, &lt;string&gt; valid_languages)</PRE>
<UL>Loads a plugin specific language pack.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>name</CODE> - Plugin name/id to load language pack for.
</UL>
<UL><CODE>valid_languages</CODE> - Comma separated list of valid languages for the plugin.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="importThemeLanguagePack"><!-- --></A>
<H3>importThemeLanguagePack</H3>
<PRE>void <B>importThemeLanguagePack</B>(&lt;string&gt; name)</PRE>
<UL>Loads a theme specific language pack.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>name</CODE> - Optional name of the theme to load language pack from.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="init"><!-- --></A>
<H3>init</H3>
<PRE>void <B>init</B>(settings)</PRE>
<UL>Initializes TinyMCE with the specific configuration settings. This method
may be called multiple times when multiple instances with diffrent settings is to be created.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>Name</CODE> - /Value array of initialization settings.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="insertAfter"><!-- --></A>
<H3>insertAfter</H3>
<PRE>void <B>insertAfter</B>(&lt;HTMLNode&gt; n, &lt;HTMLNode&gt; r)</PRE>
<UL>Inserts a node after the specific node.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - New node to insert.
</UL>
<UL><CODE>r</CODE> - Reference node to insert after.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="isBlockElement"><!-- --></A>
<H3>isBlockElement</H3>
<PRE>boolean <B>isBlockElement</B>(&lt;HTMLNode&gt; n)</PRE>
<UL>Returns true/false if the specified node is a block element or not.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - Node to verify.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
true/false if the specified node is a block element or not.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="isInstance"><!-- --></A>
<H3>isInstance</H3>
<PRE>boolean <B>isInstance</B>(&lt;object&gt; o)</PRE>
<UL>Returns true/false if a specific object is a TinyMCE_Control instance or not.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>o</CODE> - Object to check.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
true/false if it's a control or not.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="loadCSS"><!-- --></A>
<H3>loadCSS</H3>
<PRE>void <B>loadCSS</B>(&lt;string&gt; url)</PRE>
<UL>Loads the specified CSS by writing the a link tag to the current page.
This will also check if the file has been loaded before. This function should only be used
when the page is loading.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>url</CODE> - CSS file URL to load or comma separated list of files.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="loadPlugin"><!-- --></A>
<H3>loadPlugin</H3>
<PRE>void <B>loadPlugin</B>(&lt;string&gt; n, &lt;string&gt; u)</PRE>
<UL>Load plugin from external URL.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - Plugin name for example \"emotions\".
</UL>
<UL><CODE>u</CODE> - URL of plugin directory to load.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="loadScript"><!-- --></A>
<H3>loadScript</H3>
<PRE>void <B>loadScript</B>(&lt;string&gt; url)</PRE>
<UL>Loads the specified script by writing the a script tag to the current page.
This will also check if the file has been loaded before. This function should only be used
when the page is loading.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>url</CODE> - Script URL to load.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="nextNode"><!-- --></A>
<H3>nextNode</H3>
<PRE>HTMLElement <B>nextNode</B>(&lt;HTMLNode&gt; e, &lt;string&gt; n)</PRE>
<UL>Finds any element after the current one by name. This will loop through the siblings
inorder to find the specified element by name. If the element wasn't found
it will return a null value.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>e</CODE> - HTML node to search from.
</UL>
<UL><CODE>n</CODE> - Comma separated list of element names to search for.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
HTML Element or null if it wasn't found.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="onLoad"><!-- --></A>
<H3>onLoad</H3>
<PRE>boolean <B>onLoad</B>()</PRE>
<UL>Gets executed when the page loads or get intitialized. This function will then convert all textareas/divs that
is to be converted into TinyMCE editor controls.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
true - if the event is to be chained, false - if the event chain is to be canceled.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="onMouseMove"><!-- --></A>
<H3>onMouseMove</H3>
<PRE>void <B>onMouseMove</B>()</PRE>
<UL>Mouse move handler function, this will be executed each time
the mouse is moved within a editor instance. This function stores away the current selection in MSIE
this will then be used when a undo/redo level is added.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="openWindow"><!-- --></A>
<H3>openWindow</H3>
<PRE>void <B>openWindow</B>(&lt;Array&gt; template, &lt;Array&gt; args)</PRE>
<UL>Opens a popup window based in the specified input data. This function
is used for all popup windows in TinyMCE.
These are the current template TinyMCE_Engine.prototype.keys = file; width, height, close_previous.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>template</CODE> - Popup template data such as with, height etc.
</UL>
<UL><CODE>args</CODE> - Popup arguments that is to be passed to the popup such as custom data.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="parseStyle"><!-- --></A>
<H3>parseStyle</H3>
<PRE>Array <B>parseStyle</B>(&lt;string&gt; str)</PRE>
<UL>Parses the specified HTML style data. This will parse for example
"border-left: 1px; background-color: red" into an key/value array.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>str</CODE> - Style data to parse.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Name/Value array of style items.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="parseURL"><!-- --></A>
<H3>parseURL</H3>
<PRE>TinyMCE_URL_Item <B>parseURL</B>(&lt;string&gt; url_str)</PRE>
<UL>Parses a URL in to its diffrent components.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>url_str</CODE> - URL string to parse into a URL object.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
URL object based on input string.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="prevNode"><!-- --></A>
<H3>prevNode</H3>
<PRE>HTMLElement <B>prevNode</B>(&lt;HTMLNode&gt; e, &lt;string&gt; n)</PRE>
<UL>Finds any previous element by name. This will loop through the siblings
inorder to find the specified element by name. If the element wasn't found
it will return a null value.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>e</CODE> - HTML node to search from.
</UL>
<UL><CODE>n</CODE> - Comma separated list of element names to search for.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
HTML Element or null if it wasn't found.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="queryInstanceCommandState"><!-- --></A>
<H3>queryInstanceCommandState</H3>
<PRE>boolean <B>queryInstanceCommandState</B>(&lt;string&gt; editor_id, &lt;string&gt; command)</PRE>
<UL>Queries a command state for a specific command on a specific editor instance.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>editor_id</CODE> - Editor id to query command state on.
</UL>
<UL><CODE>command</CODE> - Command to query for.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Command state passed from browser.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="queryInstanceCommandValue"><!-- --></A>
<H3>queryInstanceCommandValue</H3>
<PRE>object <B>queryInstanceCommandValue</B>(&lt;string&gt; editor_id, &lt;string&gt; command)</PRE>
<UL>Queries a command value for a specific command on a specific editor instance.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>editor_id</CODE> - Editor id to query command value on.
</UL>
<UL><CODE>command</CODE> - Command to query for.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Command value passed from browser.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="regexpReplace"><!-- --></A>
<H3>regexpReplace</H3>
<PRE>string <B>regexpReplace</B>(&lt;string&gt; in_str, &lt;string&gt; reg_exp, &lt;string&gt; replace_str, opts)</PRE>
<UL>Regexp replaces the contents of a string. Use normal replace instead.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>in_str</CODE> - String to replace in.
</UL>
<UL><CODE>in_str</CODE> - Optional regexp options like "gi".
</UL>
<UL><CODE>reg_exp</CODE> - Regexp to replace.
</UL>
<UL><CODE>replace_str</CODE> - String to replace with.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Replaced string value.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<UL>
<B>Deprecated</B> <I></I><BR/><BR/>
</UL>
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="removeCSSClass"><!-- --></A>
<H3>removeCSSClass</H3>
<PRE>string <B>removeCSSClass</B>(&lt;HTMLElement&gt; e, c)</PRE>
<UL>Removes the specified CSS class from the element.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>e</CODE> - HTML element to remove CSS class to.
</UL>
<UL><CODE>string</CODE> - ] c CSS class to remove to HTML element.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Returns the new class attribute value.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="removeMCEControl"><!-- --></A>
<H3>removeMCEControl</H3>
<PRE>void <B>removeMCEControl</B>(&lt;string&gt; editor_id)</PRE>
<UL>Removes a TinyMCE editor control instance by id.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>editor_id</CODE> - Id of editor instance to remove.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="removeTinyMCEFormElements"><!-- --></A>
<H3>removeTinyMCEFormElements</H3>
<PRE>void <B>removeTinyMCEFormElements</B>(&lt;HTMLElement&gt; form_obj)</PRE>
<UL>Removes/disables TinyMCE built in form elements such as select boxes for font sizes etc.
These are disabled when the user submits a form so they don't get picked up by the backend script
that intercepts the contents.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>form_obj</CODE> - Form object to loop through for TinyMCE specific form elements.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="renameElement"><!-- --></A>
<H3>renameElement</H3>
<PRE>void <B>renameElement</B>(&lt;HTMLElement&gt; e, &lt;string&gt; n, &lt;DOMDocument&gt; d)</PRE>
<UL>Renames the specified element to the specified name.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>e</CODE> - Element to rename.
</UL>
<UL><CODE>n</CODE> - New name of the element.
</UL>
<UL><CODE>d</CODE> - Optional document reference.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="replaceVar"><!-- --></A>
<H3>replaceVar</H3>
<PRE>string <B>replaceVar</B>(&lt;string&gt; h, &lt;string&gt; r, &lt;string&gt; v)</PRE>
<UL>Replaces a specific variable in the string with a nother string.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>h</CODE> - String to search in for the variable.
</UL>
<UL><CODE>r</CODE> - Variable name to search for.
</UL>
<UL><CODE>v</CODE> - Value to insert where a variable is found.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
String with replaced variable.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="resetForm"><!-- --></A>
<H3>resetForm</H3>
<PRE>void <B>resetForm</B>(&lt;int&gt; form_index)</PRE>
<UL>Resets a forms TinyMCE instances based on form index.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>form_index</CODE> - Form index to reset.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="selectNodes"><!-- --></A>
<H3>selectNodes</H3>
<PRE>Array <B>selectNodes</B>(&lt;DOMNode&gt; n, &lt;function&gt; f, &lt;Array&gt; a)</PRE>
<UL>Returns a array of nodes when the specified function matches a node.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - Node to select children from.
</UL>
<UL><CODE>f</CODE> - Function that returns true/false if the node is to be added or not.
</UL>
<UL><CODE>a</CODE> - Optional array to fill with nodes.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Array with selected nodes.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="serializeStyle"><!-- --></A>
<H3>serializeStyle</H3>
<PRE>string <B>serializeStyle</B>(&lt;Array&gt; ar)</PRE>
<UL>Serializes the specified style item name/value array into a HTML string. This function
will force HEX colors in Firefox and convert the URL items of a style correctly.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>ar</CODE> - Name/Value array of items to serialize.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Serialized HTML string containing the items.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="serializeURL"><!-- --></A>
<H3>serializeURL</H3>
<PRE>string <B>serializeURL</B>(&lt;TinyMCE_URL_Item&gt; up)</PRE>
<UL>Serializes the specified URL object into a string.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>up</CODE> - URL object to serialize.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Serialized URL object.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="setAttrib"><!-- --></A>
<H3>setAttrib</H3>
<PRE>void <B>setAttrib</B>(&lt;HTMLElement&gt; element, &lt;string&gt; name, &lt;string&gt; value, &lt;boolean&gt; fix_value)</PRE>
<UL>Sets the attribute value for a specific attribute.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>element</CODE> - HTML element to set attribute on.
</UL>
<UL><CODE>name</CODE> - Attribute name to set.
</UL>
<UL><CODE>value</CODE> - Attribute value to set.
</UL>
<UL><CODE>fix_value</CODE> - Optional fix value state, if true only number data will be accepted.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="setContent"><!-- --></A>
<H3>setContent</H3>
<PRE>void <B>setContent</B>(&lt;string&gt; h)</PRE>
<UL>Sets the HTML contents of the selected editor instance.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>h</CODE> - HTML contents to set in the selected instance.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<UL>
<B>Deprecated</B> <I></I><BR/><BR/>
</UL>
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="setInnerHTML"><!-- --></A>
<H3>setInnerHTML</H3>
<PRE>void <B>setInnerHTML</B>(&lt;HTMLElement&gt; e, &lt;string&gt; h)</PRE>
<UL>Sets the innerHTML property of a element, this function also
fixes a MSIE bug where the first comment is removed.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>e</CODE> - Element to insert HTML in.
</UL>
<UL><CODE>h</CODE> - HTML code to insert into innerHTML.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="setOuterHTML"><!-- --></A>
<H3>setOuterHTML</H3>
<PRE>void <B>setOuterHTML</B>(&lt;HTMLElement&gt; e, &lt;string&gt; h)</PRE>
<UL>Sets the outer HTML of a element, this uses the outerHTML
property in MSIE and Opera and a workaround for Gecko.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>e</CODE> - HTML element to set outerHTML on.
</UL>
<UL><CODE>h</CODE> - HTML string to set in property.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="setPluginBaseURL"><!-- --></A>
<H3>setPluginBaseURL</H3>
<PRE>void <B>setPluginBaseURL</B>(&lt;string&gt; n, &lt;string&gt; u)</PRE>
<UL>Sets the baseURL of the specified plugin, this is useful if the plugin is loaded from
a external location.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - Plugin name/id to set base URL on. This have to be added before.
</UL>
<UL><CODE>u</CODE> - Base URL of plugin, this string should be the URL prefix for the plugin without a trailing slash.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="setStyleAttrib"><!-- --></A>
<H3>setStyleAttrib</H3>
<PRE>void <B>setStyleAttrib</B>(&lt;HTMLElement&gt; elm, &lt;string&gt; name, &lt;string&gt; value)</PRE>
<UL>Sets a style attribute item value.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>elm</CODE> - HTML element to set style attribute item on.
</UL>
<UL><CODE>name</CODE> - Style item name to set.
</UL>
<UL><CODE>value</CODE> - Style item value to set.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="setupContent"><!-- --></A>
<H3>setupContent</H3>
<PRE>void <B>setupContent</B>(&lt;string&gt; editor_id)</PRE>
<UL>Setups the contents of TinyMCE editor instance and fills it with contents.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>editor_id</CODE> - TinyMCE editor instance control id to fill.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="setWindowArg"><!-- --></A>
<H3>setWindowArg</H3>
<PRE>void <B>setWindowArg</B>(&lt;string&gt; n, &lt;string&gt; v)</PRE>
<UL>Sets the window argument to be passed to TinyMCE popup.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - Window argument name.
</UL>
<UL><CODE>v</CODE> - Window argument value.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="storeAwayURLs"><!-- --></A>
<H3>storeAwayURLs</H3>
<PRE>string <B>storeAwayURLs</B>(&lt;string&gt; s)</PRE>
<UL>Stores away the src and href attribute values in separate mce_src and mce_href attributes.
This is needed since both MSIE and Gecko messes with these attributes. The old
src and href will be intact, this simply adds them to a separate attribute.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>s</CODE> - HTML string to replace src and href attributes in.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
HTML string with replaced src and href attributes.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="submitPatch"><!-- --></A>
<H3>submitPatch</H3>
<PRE>void <B>submitPatch</B>()</PRE>
<UL>Piggyback onsubmit event handler function, this will remove/hide the TinyMCE specific form elements
call triggerSave to fill the textarea with the correct contents then call the old piggy backed event handler.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="switchClass"><!-- --></A>
<H3>switchClass</H3>
<PRE>void <B>switchClass</B>(&lt;HTMLElement&gt; ei, &lt;string&gt; c)</PRE>
<UL>Switches the CSS class of the specified element. This method also caches the
elements in a lookup table for performance. This should only be used for TinyMCE main UI controls
like buttons or select elements.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>ei</CODE> - Element to set CSS class on.
</UL>
<UL><CODE>c</CODE> - CSS class to set.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="triggerNodeChange"><!-- --></A>
<H3>triggerNodeChange</H3>
<PRE>void <B>triggerNodeChange</B>(&lt;boolean&gt; focus, &lt;boolean&gt; setup_content)</PRE>
<UL>Triggers a nodeChange event to every theme and plugin. This will be executed when the cursor moves or
when a command that modifies the editor contents is executed.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>focus</CODE> - Optional state if the last selected editor instance is to be focused or not.
</UL>
<UL><CODE>setup_content</CODE> - Optional state if it's called from setup content function or not.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="triggerSave"><!-- --></A>
<H3>triggerSave</H3>
<PRE>void <B>triggerSave</B>(&lt;boolean&gt; skip_cleanup, &lt;boolean&gt; skip_callback)</PRE>
<UL>Moves the contents from a TinyMCE editor control instance to the hidden textarea
that got replaced with TinyMCE. This is executed automaticly on for example form submit.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>skip_cleanup</CODE> - Optional Skip cleanup, simply move the contents as fast as possible.
</UL>
<UL><CODE>skip_callback</CODE> - Optional Skip callback, don't call the save_callback function.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="trim"><!-- --></A>
<H3>trim</H3>
<PRE>string <B>trim</B>(&lt;string&gt; s)</PRE>
<UL>Removes all prefix, suffix whitespace of a string.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>s</CODE> - String to replace whitespace in.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Replaced string value.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="unloadHandler"><!-- --></A>
<H3>unloadHandler</H3>
<PRE>void <B>unloadHandler</B>()</PRE>
<UL>Unload document event handler function. This function will be executed when the
page is unloaded, this will automaticly move the current editor contents to the textarea element this enables
the editor to restore it's state when the user presses the back button in the browser.
This will execute the triggerSave function.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="updateContent"><!-- --></A>
<H3>updateContent</H3>
<PRE>void <B>updateContent</B>(&lt;string&gt; form_element_name)</PRE>
<UL>Moves the contents from the hidden textarea to the editor that gets inserted.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>form_element_name</CODE> - Form element name to move contents from.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<UL>
<B>Deprecated</B> <I></I><BR/><BR/>
</UL>
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="xmlEncode"><!-- --></A>
<H3>xmlEncode</H3>
<PRE>string <B>xmlEncode</B>(&lt;string&gt; s)</PRE>
<UL>Encodes the string to raw XML entities. This will only convert the most common ones.
For real entity encoding use the xmlEncode method of the Cleanup class.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>s</CODE> - String to encode.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
XML Encoded string.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<!-- ============ METHOD DETAIL END ========== -->
<!-- ========= END OF CLASS DATA ========= -->
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary-TinyMCE_Engine.class.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><b>Tree</b></FONT></A>&nbsp;</TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="TinyMCE_Control.html"><B>PREV CLASS</B></A><!--
NEXT CLASS
-->
&nbsp;<A HREF="TinyMCE_Layer.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="TinyMCE_Engine.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<FONT SIZE="-1">
</FONT>
<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Fri Apr 14 21:59:23 2006</div>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
TinyMCE_Layer
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title="TinyMCE_Layer";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary-TinyMCE_Layer.class.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">&nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"--><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="TinyMCE_Engine.html"><B>PREV CLASS</B></A><!--
NEXT CLASS
-->
&nbsp;<A HREF="TinyMCE_Popup.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="TinyMCE_Layer.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>Class TinyMCE_Layer</H2>
<PRE>Object
|
+--<b>TinyMCE_Layer</b>
</PRE>
<HR>
<DL>
<!-- Class definition -->
<DT>class
<B>TinyMCE_Layer</B>
</DL>
<P>
<I>Defined in <a href='overview-summary-TinyMCE_Layer.class.js.html'>TinyMCE_Layer.class.js</a></I><BR/><BR/>
</P>
<HR>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- ======== END NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- =========== END FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD>
<CODE>
<B>
<A HREF="TinyMCE_Layer.html#TinyMCE_Layer()">TinyMCE_Layer</A>
</B>
(&lt;string&gt; id, &lt;boolean&gt; bm)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Constructor for the TinyMCE Layer.
</TD>
</TR>
</TABLE>
<!-- ======== END CONSTRUCTOR SUMMARY ======== -->
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;HTMLElement</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#create">create</A></B>(&lt;string&gt; n, &lt;string&gt; c, &lt;HTMLElement&gt; p)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Creates a element for the layer based on the id and specified name.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getAbsPosition">getAbsPosition</A></B>(&lt;DOMElement&gt; n)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the absolute x, y cordinate of the specified node.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;HTMLElement</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getBlocker">getBlocker</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the blocker DOM element, this is a invisible iframe.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;HTMLElement</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getElement">getElement</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the DOM element that the layer is binded to.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#hide">hide</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Hides the layer.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#isVisible">isVisible</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns true/false if the layer is visible or not.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#moveBy">moveBy</A></B>(&lt;int&gt; x, &lt;int&gt; y)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Moves the layer relative in pixels.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#moveRelativeTo">moveRelativeTo</A></B>(&lt;HTMLElement&gt; re, &lt;string&gt; p)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Moves the layer relative to the specified HTML element.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#moveTo">moveTo</A></B>(&lt;int&gt; x, &lt;int&gt; y)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Moves the layer absolute in pixels.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;int</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#parseInt">parseInt</A></B>(&lt;string&gt; s)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Parses a int value this method will return 0 if the string is empty.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#resizeBy">resizeBy</A></B>(&lt;int&gt; w, &lt;int&gt; h)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Resizes the layer by the specified relative width and height.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#resizeTo">resizeTo</A></B>(&lt;int&gt; w, &lt;int&gt; h)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Resizes the layer to the specified width and height.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#setBlockMode">setBlockMode</A></B>(&lt;boolean&gt; s)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Sets the block mode.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#show">show</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Shows the layer.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#updateBlocker">updateBlocker</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Updates the select/iframe/flash blocker this will also block the caret in Firefox.
</TD>
</TR>
</TABLE>
<P>
<!-- ========== END METHOD SUMMARY =========== -->
<!-- ============ FIELD DETAIL START =========== -->
<!-- ============ FIELD DETAIL END =========== -->
<!-- ========= CONSTRUCTOR DETAIL START ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1>
<FONT SIZE="+2"><B>Constructor Detail</B></FONT>
</TD>
</TR>
</TABLE>
<A NAME="TinyMCE_Layer()"><!-- --></A><H3>
TinyMCE_Layer</H3>
<PRE><B>TinyMCE_Layer</B>(&lt;string&gt; id, &lt;boolean&gt; bm)</PRE>
<UL>
Constructor for the TinyMCE Layer. This class enables you to construct
floating layers that is visible on top of select input fields, flashes and iframes.
</UL>
<UL>
<B>Parameters:</B>
<UL><CODE>id</CODE> - Unique ID name for the layer.
</UL>
<UL><CODE>bm</CODE> - Block mode, defaults to true.
</UL>
</UL>
<!-- Constructor return value(s) -->
<!-- End constructor return value(s) -->
<!-- ADDITIONAL ATTRIBUTES -->
<HR/>
<!-- END ADDITIONAL ATTRIBUTES -->
<!-- ========= CONSTRUCTOR DETAIL END ======== -->
<!-- ============ METHOD DETAIL START ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT>
</TD>
</TR>
</TABLE>
<!-- One single method detail entry -->
<A NAME="create"><!-- --></A>
<H3>create</H3>
<PRE>HTMLElement <B>create</B>(&lt;string&gt; n, &lt;string&gt; c, &lt;HTMLElement&gt; p)</PRE>
<UL>Creates a element for the layer based on the id and specified name.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - Element tag name, like div.
</UL>
<UL><CODE>c</CODE> - Optional class name to set as class attribute value.
</UL>
<UL><CODE>p</CODE> - Optional parent element reference, defaults to body.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
HTML DOM element that got created.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getAbsPosition"><!-- --></A>
<H3>getAbsPosition</H3>
<PRE>Object <B>getAbsPosition</B>(&lt;DOMElement&gt; n)</PRE>
<UL>Returns the absolute x, y cordinate of the specified node.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>n</CODE> - DOM node to retrive x, y of.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Object containing absLeft and absTop properties.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getBlocker"><!-- --></A>
<H3>getBlocker</H3>
<PRE>HTMLElement <B>getBlocker</B>()</PRE>
<UL>Returns the blocker DOM element, this is a invisible iframe.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
DOM HTML element.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getElement"><!-- --></A>
<H3>getElement</H3>
<PRE>HTMLElement <B>getElement</B>()</PRE>
<UL>Returns the DOM element that the layer is binded to.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
DOM HTML element.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="hide"><!-- --></A>
<H3>hide</H3>
<PRE>void <B>hide</B>()</PRE>
<UL>Hides the layer.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="isVisible"><!-- --></A>
<H3>isVisible</H3>
<PRE>boolean <B>isVisible</B>()</PRE>
<UL>Returns true/false if the layer is visible or not.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
true/false if it's visible or not.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="moveBy"><!-- --></A>
<H3>moveBy</H3>
<PRE>void <B>moveBy</B>(&lt;int&gt; x, &lt;int&gt; y)</PRE>
<UL>Moves the layer relative in pixels.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>x</CODE> - Horizontal relative position in pixels.
</UL>
<UL><CODE>y</CODE> - Vertical relative position in pixels.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="moveRelativeTo"><!-- --></A>
<H3>moveRelativeTo</H3>
<PRE>void <B>moveRelativeTo</B>(&lt;HTMLElement&gt; re, &lt;string&gt; p)</PRE>
<UL>Moves the layer relative to the specified HTML element.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>re</CODE> - Element to move the layer relative to.
</UL>
<UL><CODE>p</CODE> - Position of the layer tl = top left, tr = top right, bl = bottom left, br = bottom right.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="moveTo"><!-- --></A>
<H3>moveTo</H3>
<PRE>void <B>moveTo</B>(&lt;int&gt; x, &lt;int&gt; y)</PRE>
<UL>Moves the layer absolute in pixels.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>x</CODE> - Horizontal absolute position in pixels.
</UL>
<UL><CODE>y</CODE> - Vertical absolute position in pixels.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="parseInt"><!-- --></A>
<H3>parseInt</H3>
<PRE>int <B>parseInt</B>(&lt;string&gt; s)</PRE>
<UL>Parses a int value this method will return 0 if the string is empty.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>s</CODE> - String to parse value of.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Parsed number.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="resizeBy"><!-- --></A>
<H3>resizeBy</H3>
<PRE>void <B>resizeBy</B>(&lt;int&gt; w, &lt;int&gt; h)</PRE>
<UL>Resizes the layer by the specified relative width and height.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>w</CODE> - Relative width value.
</UL>
<UL><CODE>h</CODE> - Relative height value.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="resizeTo"><!-- --></A>
<H3>resizeTo</H3>
<PRE>void <B>resizeTo</B>(&lt;int&gt; w, &lt;int&gt; h)</PRE>
<UL>Resizes the layer to the specified width and height.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>w</CODE> - Width value.
</UL>
<UL><CODE>h</CODE> - Height value.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="setBlockMode"><!-- --></A>
<H3>setBlockMode</H3>
<PRE>void <B>setBlockMode</B>(&lt;boolean&gt; s)</PRE>
<UL>Sets the block mode. If you set this property to true a control box blocker iframe
will be added to the document since MSIE has a issue where select boxes are visible
through layers.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>s</CODE> - Block mode state, true is the default value.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="show"><!-- --></A>
<H3>show</H3>
<PRE>void <B>show</B>()</PRE>
<UL>Shows the layer.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="updateBlocker"><!-- --></A>
<H3>updateBlocker</H3>
<PRE>void <B>updateBlocker</B>()</PRE>
<UL>Updates the select/iframe/flash blocker this will also block the caret in Firefox.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<!-- ============ METHOD DETAIL END ========== -->
<!-- ========= END OF CLASS DATA ========= -->
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary-TinyMCE_Layer.class.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><b>Tree</b></FONT></A>&nbsp;</TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="TinyMCE_Engine.html"><B>PREV CLASS</B></A><!--
NEXT CLASS
-->
&nbsp;<A HREF="TinyMCE_Popup.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="TinyMCE_Layer.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<FONT SIZE="-1">
</FONT>
<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Fri Apr 14 21:59:23 2006</div>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
TinyMCE_Popup
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title="TinyMCE_Popup";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary-TinyMCE_Popup.class.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">&nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"--><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="TinyMCE_Layer.html"><B>PREV CLASS</B></A><!--
NEXT CLASS
-->
&nbsp;<A HREF="TinyMCE_Selection.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="TinyMCE_Popup.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>Class TinyMCE_Popup</H2>
<PRE>Object
|
+--<b>TinyMCE_Popup</b>
</PRE>
<HR>
<DL>
<!-- Class definition -->
<DT>class
<B>TinyMCE_Popup</B>
</DL>
<P>
<I>Defined in <a href='overview-summary-TinyMCE_Popup.class.js.html'>TinyMCE_Popup.class.js</a></I><BR/><BR/>
</P>
<HR>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- ======== END NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- =========== END FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD>
<CODE>
<B>
<A HREF="TinyMCE_Popup.html#TinyMCE_Popup()">TinyMCE_Popup</A>
</B>
()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Constructor for the popup class.
</TD>
</TR>
</TABLE>
<!-- ======== END CONSTRUCTOR SUMMARY ======== -->
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#close">close</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Closes the current window.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#execCommand">execCommand</A></B>(&lt;string&gt; command, &lt;boolean&gt; user_interface, &lt;mixed&gt; value)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Executes the specific command on the parent instance that opened the window.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#executeOnLoad">executeOnLoad</A></B>(&lt;string&gt; str)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Executes the specified string onload.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getWindowArg">getWindowArg</A></B>(&lt;string&gt; name, &lt;string&gt; default_value)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns a window argument, window arguments can be passed from a plugin to a window
by using the tinyMCE.openWindow function.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#importClass">importClass</A></B>(&lt;string&gt; c)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Imports the specified class into the current popup.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#init">init</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Initializes the TinyMCE Popup class.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#onLoad">onLoad</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Gets executed when the window has finished loading it's contents.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#openBrowser">openBrowser</A></B>(&lt;string&gt; element_id, &lt;string&gt; type, &lt;string&gt; option)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Opens a filebrowser/imagebrowser this will set the output value from
the browser as a value on the specified element.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#pickColor">pickColor</A></B>(&lt;DOMEvent&gt; e, &lt;string&gt; element_id)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Executes a color picker on the specified element id.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#resizeToContent">resizeToContent</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Resizes the current window to the dimensions of the body.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#resizeToInnerSize">resizeToInnerSize</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Resizes the current window to it's inner body size.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#restoreSelection">restoreSelection</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Restores the selection back to the one stored after executing a command.
</TD>
</TR>
</TABLE>
<P>
<!-- ========== END METHOD SUMMARY =========== -->
<!-- ============ FIELD DETAIL START =========== -->
<!-- ============ FIELD DETAIL END =========== -->
<!-- ========= CONSTRUCTOR DETAIL START ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1>
<FONT SIZE="+2"><B>Constructor Detail</B></FONT>
</TD>
</TR>
</TABLE>
<A NAME="TinyMCE_Popup()"><!-- --></A><H3>
TinyMCE_Popup</H3>
<PRE><B>TinyMCE_Popup</B>()</PRE>
<UL>
Constructor for the popup class. This class contains base logic for popup/dialogs and sets up
object references to the TinyMCE core.
</UL>
</UL>
<!-- Constructor return value(s) -->
<!-- End constructor return value(s) -->
<!-- ADDITIONAL ATTRIBUTES -->
<HR/>
<!-- END ADDITIONAL ATTRIBUTES -->
<!-- ========= CONSTRUCTOR DETAIL END ======== -->
<!-- ============ METHOD DETAIL START ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT>
</TD>
</TR>
</TABLE>
<!-- One single method detail entry -->
<A NAME="close"><!-- --></A>
<H3>close</H3>
<PRE>void <B>close</B>()</PRE>
<UL>Closes the current window. This should be used instead of window.close. Since this will
also handle inlinepopups closing.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="execCommand"><!-- --></A>
<H3>execCommand</H3>
<PRE>void <B>execCommand</B>(&lt;string&gt; command, &lt;boolean&gt; user_interface, &lt;mixed&gt; value)</PRE>
<UL>Executes the specific command on the parent instance that opened the window. This method
will also take care of the storage and restorage of the current selection in MSIE when
using inlinepopups. So we suggest using this method instead of tinyMCE.execCommand when using
popup windows.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>command</CODE> - Command name to execute, for example mceLink or Bold.
</UL>
<UL><CODE>user_interface</CODE> - True/false state if a UI (dialog) should be presented or not.
</UL>
<UL><CODE>value</CODE> - Optional command value, this can be anything.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="executeOnLoad"><!-- --></A>
<H3>executeOnLoad</H3>
<PRE>void <B>executeOnLoad</B>(&lt;string&gt; str)</PRE>
<UL>Executes the specified string onload. This is a workaround for Opera since it
doesn't execute the events in the same order than MSIE and Firefox.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>str</CODE> - String to evaluate on load.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getWindowArg"><!-- --></A>
<H3>getWindowArg</H3>
<PRE>Object <B>getWindowArg</B>(&lt;string&gt; name, &lt;string&gt; default_value)</PRE>
<UL>Returns a window argument, window arguments can be passed from a plugin to a window
by using the tinyMCE.openWindow function.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>name</CODE> - Argument name to retrive.
</UL>
<UL><CODE>default_value</CODE> - Optional default value to assign if the argument wasn't set.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Argument value object.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="importClass"><!-- --></A>
<H3>importClass</H3>
<PRE>void <B>importClass</B>(&lt;string&gt; c)</PRE>
<UL>Imports the specified class into the current popup. This will setup a local class definition
by importing from the parent window.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>c</CODE> - Class name to import to current page.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="init"><!-- --></A>
<H3>init</H3>
<PRE>void <B>init</B>()</PRE>
<UL>Initializes the TinyMCE Popup class. This will setup the TinyMCE core references and other popup/dialog related functions.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="onLoad"><!-- --></A>
<H3>onLoad</H3>
<PRE>void <B>onLoad</B>()</PRE>
<UL>Gets executed when the window has finished loading it's contents. This function will then
replace language variables with their real values.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="openBrowser"><!-- --></A>
<H3>openBrowser</H3>
<PRE>void <B>openBrowser</B>(&lt;string&gt; element_id, &lt;string&gt; type, &lt;string&gt; option)</PRE>
<UL>Opens a filebrowser/imagebrowser this will set the output value from
the browser as a value on the specified element.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>element_id</CODE> - Id of the element to set value in.
</UL>
<UL><CODE>type</CODE> - Type of browser to open image/file/flash.
</UL>
<UL><CODE>option</CODE> - Option name to get the file_broswer_callback function name from.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="pickColor"><!-- --></A>
<H3>pickColor</H3>
<PRE>void <B>pickColor</B>(&lt;DOMEvent&gt; e, &lt;string&gt; element_id)</PRE>
<UL>Executes a color picker on the specified element id. When the user
then selects a color it will be set as the value of the specified element.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>e</CODE> - DOM event object.
</UL>
<UL><CODE>element_id</CODE> - Element id to be filled with the color value from the picker.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="resizeToContent"><!-- --></A>
<H3>resizeToContent</H3>
<PRE>void <B>resizeToContent</B>()</PRE>
<UL>Resizes the current window to the dimensions of the body.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="resizeToInnerSize"><!-- --></A>
<H3>resizeToInnerSize</H3>
<PRE>void <B>resizeToInnerSize</B>()</PRE>
<UL>Resizes the current window to it's inner body size. This function
was needed since MSIE makes the visible dialog area diffrent depending
on what Theme/Skin you use.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="restoreSelection"><!-- --></A>
<H3>restoreSelection</H3>
<PRE>void <B>restoreSelection</B>()</PRE>
<UL>Restores the selection back to the one stored after executing a command.
This function was needed in MSIE when using inlinepopups, the selection
would otherwice get lost if the user focused another field.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<!-- ============ METHOD DETAIL END ========== -->
<!-- ========= END OF CLASS DATA ========= -->
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary-TinyMCE_Popup.class.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><b>Tree</b></FONT></A>&nbsp;</TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="TinyMCE_Layer.html"><B>PREV CLASS</B></A><!--
NEXT CLASS
-->
&nbsp;<A HREF="TinyMCE_Selection.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="TinyMCE_Popup.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<FONT SIZE="-1">
</FONT>
<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Fri Apr 14 21:59:23 2006</div>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
TinyMCE_Selection
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title="TinyMCE_Selection";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary-TinyMCE_Selection.class.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">&nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"--><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="TinyMCE_Popup.html"><B>PREV CLASS</B></A><!--
NEXT CLASS
-->
&nbsp;<A HREF="TinyMCE_UndoRedo.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="TinyMCE_Selection.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>Class TinyMCE_Selection</H2>
<PRE>Object
|
+--<b>TinyMCE_Selection</b>
</PRE>
<HR>
<DL>
<!-- Class definition -->
<DT>class
<B>TinyMCE_Selection</B>
</DL>
<P>
<I>Defined in <a href='overview-summary-TinyMCE_Selection.class.js.html'>TinyMCE_Selection.class.js</a></I><BR/><BR/>
</P>
<HR>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- ======== END NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<!-- This is one instance field summary -->
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#instance">instance</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== END FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD>
<CODE>
<B>
<A HREF="TinyMCE_Selection.html#TinyMCE_Selection()">TinyMCE_Selection</A>
</B>
(&lt;<a href="TinyMCE_Control.html">TinyMCE_Control</a>&gt; inst)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Constructs a Selection instance and binds it to the specificed TinyMCE editor control.
</TD>
</TR>
</TABLE>
<!-- ======== END CONSTRUCTOR SUMMARY ======== -->
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;TinyMCE_Bookmark</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getBookmark">getBookmark</A></B>(&lt;boolean&gt; simple)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns a selection bookmark that can be restored later with moveToBookmark.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;HTMLElement</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getFocusElement">getFocusElement</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the currently selected/focused element.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;DOMRange</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getRng">getRng</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the browsers selections first range instance.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;DOMSelection</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getSel">getSel</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the browsers selection instance.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getSelectedHTML">getSelectedHTML</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the selected HTML code.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;string</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getSelectedText">getSelectedText</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the selected text.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#moveToBookmark">moveToBookmark</A></B>(&lt;TinyMCE_Bookmark&gt; bookmark)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Restores the selection to the specified bookmark.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#scrollToNode">scrollToNode</A></B>(&lt;HTMLNode&gt; node)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Scrolls to the specified node location.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#selectNode">selectNode</A></B>(&lt;HTMLNode&gt; node, &lt;boolean&gt; collapse, &lt;boolean&gt; select_text_node, &lt;boolean&gt; to_start)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Selects the specified node.
</TD>
</TR>
</TABLE>
<P>
<!-- ========== END METHOD SUMMARY =========== -->
<!-- ============ FIELD DETAIL START =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="instance"><!-- --></A>
<H3>instance</H3>
<PRE>Object&nbsp;<B>instance</B></PRE>
<UL>
</UL>
<HR>
<!-- ============ FIELD DETAIL END =========== -->
<!-- ========= CONSTRUCTOR DETAIL START ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1>
<FONT SIZE="+2"><B>Constructor Detail</B></FONT>
</TD>
</TR>
</TABLE>
<A NAME="TinyMCE_Selection()"><!-- --></A><H3>
TinyMCE_Selection</H3>
<PRE><B>TinyMCE_Selection</B>(&lt;<a href="TinyMCE_Control.html">TinyMCE_Control</a>&gt; inst)</PRE>
<UL>
Constructs a Selection instance and binds it to the specificed TinyMCE editor control.
</UL>
<UL>
<B>Parameters:</B>
<UL><CODE>inst</CODE> - TinyMCE editor control instance.
</UL>
</UL>
<!-- Constructor return value(s) -->
<!-- End constructor return value(s) -->
<!-- ADDITIONAL ATTRIBUTES -->
<HR/>
<!-- END ADDITIONAL ATTRIBUTES -->
<!-- ========= CONSTRUCTOR DETAIL END ======== -->
<!-- ============ METHOD DETAIL START ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT>
</TD>
</TR>
</TABLE>
<!-- One single method detail entry -->
<A NAME="getBookmark"><!-- --></A>
<H3>getBookmark</H3>
<PRE>TinyMCE_Bookmark <B>getBookmark</B>(&lt;boolean&gt; simple)</PRE>
<UL>Returns a selection bookmark that can be restored later with moveToBookmark.
This acts much like the one MSIE has built in but this one is persistent if between DOM
tree rewritings. The simple mode enables a quicker and non persistent bookmark.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>simple</CODE> - If this is set to true, the selection bookmark will not me dom persistent.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Selection bookmark that can be restored later with moveToBookmark.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getFocusElement"><!-- --></A>
<H3>getFocusElement</H3>
<PRE>HTMLElement <B>getFocusElement</B>()</PRE>
<UL>Returns the currently selected/focused element.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Currently selected element.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getRng"><!-- --></A>
<H3>getRng</H3>
<PRE>DOMRange <B>getRng</B>()</PRE>
<UL>Returns the browsers selections first range instance.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Browsers selections first range instance.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getSel"><!-- --></A>
<H3>getSel</H3>
<PRE>DOMSelection <B>getSel</B>()</PRE>
<UL>Returns the browsers selection instance.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Browser selection instance.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getSelectedHTML"><!-- --></A>
<H3>getSelectedHTML</H3>
<PRE>string <B>getSelectedHTML</B>()</PRE>
<UL>Returns the selected HTML code.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Selected HTML contents.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getSelectedText"><!-- --></A>
<H3>getSelectedText</H3>
<PRE>string <B>getSelectedText</B>()</PRE>
<UL>Returns the selected text.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Selected text contents.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="moveToBookmark"><!-- --></A>
<H3>moveToBookmark</H3>
<PRE>boolean <B>moveToBookmark</B>(&lt;TinyMCE_Bookmark&gt; bookmark)</PRE>
<UL>Restores the selection to the specified bookmark.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>bookmark</CODE> - Bookmark to restore selection from.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
true/false if it was successful or not.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="scrollToNode"><!-- --></A>
<H3>scrollToNode</H3>
<PRE>void <B>scrollToNode</B>(&lt;HTMLNode&gt; node)</PRE>
<UL>Scrolls to the specified node location.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>node</CODE> - Node to scroll to.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="selectNode"><!-- --></A>
<H3>selectNode</H3>
<PRE>void <B>selectNode</B>(&lt;HTMLNode&gt; node, &lt;boolean&gt; collapse, &lt;boolean&gt; select_text_node, &lt;boolean&gt; to_start)</PRE>
<UL>Selects the specified node.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>node</CODE> - Node object to move selection to.
</UL>
<UL><CODE>collapse</CODE> - True/false if it will be collasped.
</UL>
<UL><CODE>select_text_node</CODE> - True/false if the text contents should be selected or not.
</UL>
<UL><CODE>to_start</CODE> - True/false if the collapse should be to start or end of range.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<!-- ============ METHOD DETAIL END ========== -->
<!-- ========= END OF CLASS DATA ========= -->
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary-TinyMCE_Selection.class.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><b>Tree</b></FONT></A>&nbsp;</TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="TinyMCE_Popup.html"><B>PREV CLASS</B></A><!--
NEXT CLASS
-->
&nbsp;<A HREF="TinyMCE_UndoRedo.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="TinyMCE_Selection.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<FONT SIZE="-1">
</FONT>
<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Fri Apr 14 21:59:23 2006</div>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
TinyMCE_UndoRedo
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title="TinyMCE_UndoRedo";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary-TinyMCE_UndoRedo.class.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">&nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"--><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="TinyMCE_Selection.html"><B>PREV CLASS</B></A><!--
NEXT CLASS
-->
&nbsp;<B>NEXT CLASS</B></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="TinyMCE_UndoRedo.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>Class TinyMCE_UndoRedo</H2>
<PRE>Object
|
+--<b>TinyMCE_UndoRedo</b>
</PRE>
<HR>
<DL>
<!-- Class definition -->
<DT>class
<B>TinyMCE_UndoRedo</B>
</DL>
<P>
<I>Defined in <a href='overview-summary-TinyMCE_UndoRedo.class.js.html'>TinyMCE_UndoRedo.class.js</a></I><BR/><BR/>
</P>
<HR>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- ======== END NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<!-- This is one instance field summary -->
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#instance">instance</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#typingUndoIndex">typingUndoIndex</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#undoIndex">undoIndex</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#undoLevels">undoLevels</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="#undoRedo">undoRedo</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== END FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD>
<CODE>
<B>
<A HREF="TinyMCE_UndoRedo.html#TinyMCE_UndoRedo()">TinyMCE_UndoRedo</A>
</B>
(&lt;<a href="TinyMCE_Control.html">TinyMCE_Control</a>&gt; inst)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Constructs a undo redo instance, this instance handles the custom undo/redo handeling in TinyMCE.
</TD>
</TR>
</TABLE>
<!-- ======== END CONSTRUCTOR SUMMARY ======== -->
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#add">add</A></B>(&lt;TinyMCE_UndoRedoLevel&gt; l)
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Adds a new undo level, this will take a snapshot of the current instance HTML or use the specified level.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#redo">redo</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Performes a undo action, this will restore the HTML contents of the editor to a former undoed state.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE>&nbsp;void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#undo">undo</A></B>()
</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Performes a undo action, this will restore the HTML contents of the editor to a former state.
</TD>
</TR>
</TABLE>
<P>
<!-- ========== END METHOD SUMMARY =========== -->
<!-- ============ FIELD DETAIL START =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="instance"><!-- --></A>
<H3>instance</H3>
<PRE>Object&nbsp;<B>instance</B></PRE>
<UL>
</UL>
<HR>
<A NAME="typingUndoIndex"><!-- --></A>
<H3>typingUndoIndex</H3>
<PRE>Object&nbsp;<B>typingUndoIndex</B></PRE>
<UL>
</UL>
<HR>
<A NAME="undoIndex"><!-- --></A>
<H3>undoIndex</H3>
<PRE>Object&nbsp;<B>undoIndex</B></PRE>
<UL>
</UL>
<HR>
<A NAME="undoLevels"><!-- --></A>
<H3>undoLevels</H3>
<PRE>Object&nbsp;<B>undoLevels</B></PRE>
<UL>
</UL>
<HR>
<A NAME="undoRedo"><!-- --></A>
<H3>undoRedo</H3>
<PRE>Object&nbsp;<B>undoRedo</B></PRE>
<UL>
</UL>
<HR>
<!-- ============ FIELD DETAIL END =========== -->
<!-- ========= CONSTRUCTOR DETAIL START ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1>
<FONT SIZE="+2"><B>Constructor Detail</B></FONT>
</TD>
</TR>
</TABLE>
<A NAME="TinyMCE_UndoRedo()"><!-- --></A><H3>
TinyMCE_UndoRedo</H3>
<PRE><B>TinyMCE_UndoRedo</B>(&lt;<a href="TinyMCE_Control.html">TinyMCE_Control</a>&gt; inst)</PRE>
<UL>
Constructs a undo redo instance, this instance handles the custom undo/redo handeling in TinyMCE.
</UL>
<UL>
<B>Parameters:</B>
<UL><CODE>inst</CODE> - TinyMCE editor control instance.
</UL>
</UL>
<!-- Constructor return value(s) -->
<!-- End constructor return value(s) -->
<!-- ADDITIONAL ATTRIBUTES -->
<HR/>
<!-- END ADDITIONAL ATTRIBUTES -->
<!-- ========= CONSTRUCTOR DETAIL END ======== -->
<!-- ============ METHOD DETAIL START ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT>
</TD>
</TR>
</TABLE>
<!-- One single method detail entry -->
<A NAME="add"><!-- --></A>
<H3>add</H3>
<PRE>boolean <B>add</B>(&lt;TinyMCE_UndoRedoLevel&gt; l)</PRE>
<UL>Adds a new undo level, this will take a snapshot of the current instance HTML or use the specified level.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>l</CODE> - Optional undo/redo level to add.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
true/false on success or failure.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="redo"><!-- --></A>
<H3>redo</H3>
<PRE>void <B>redo</B>()</PRE>
<UL>Performes a undo action, this will restore the HTML contents of the editor to a former undoed state.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="undo"><!-- --></A>
<H3>undo</H3>
<PRE>void <B>undo</B>()</PRE>
<UL>Performes a undo action, this will restore the HTML contents of the editor to a former state.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<!-- ============ METHOD DETAIL END ========== -->
<!-- ========= END OF CLASS DATA ========= -->
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary-TinyMCE_UndoRedo.class.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><b>Tree</b></FONT></A>&nbsp;</TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="TinyMCE_Selection.html"><B>PREV CLASS</B></A><!--
NEXT CLASS
-->
&nbsp;<B>NEXT CLASS</B></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="TinyMCE_UndoRedo.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<FONT SIZE="-1">
</FONT>
<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Fri Apr 14 21:59:23 2006</div>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
All Classes
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title=" All Classes";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">
<H3 class="FrameHeadingFont"><B></B></H3>
<FONT size="+1" CLASS="FrameHeadingFont">
<B><a href="overview-summary.html" target="classFrame">All Classes</a></B></FONT>
<BR>
<TABLE BORDER="0" WIDTH="100%">
<TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="GLOBALS.html" TARGET="classFrame">GLOBALS</A>
<BR>
</FONT></TD>
</TR>
<TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="TinyMCE_Cleanup.html" TARGET="classFrame">TinyMCE_Cleanup</A>
<BR>
</FONT></TD>
</TR>
<TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="TinyMCE_Control.html" TARGET="classFrame">TinyMCE_Control</A>
<BR>
</FONT></TD>
</TR>
<TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="TinyMCE_Engine.html" TARGET="classFrame">TinyMCE_Engine</A>
<BR>
</FONT></TD>
</TR>
<TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="TinyMCE_Layer.html" TARGET="classFrame">TinyMCE_Layer</A>
<BR>
</FONT></TD>
</TR>
<TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="TinyMCE_Popup.html" TARGET="classFrame">TinyMCE_Popup</A>
<BR>
</FONT></TD>
</TR>
<TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="TinyMCE_Selection.html" TARGET="classFrame">TinyMCE_Selection</A>
<BR>
</FONT></TD>
</TR>
<TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="TinyMCE_UndoRedo.html" TARGET="classFrame">TinyMCE_UndoRedo</A>
<BR>
</FONT></TD>
</TR>
</TABLE>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>
All Classes
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title=" All Classes";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">
<H3 CLASS="FrameHeadingFont"></H3>
<FONT size="+1" CLASS="FrameHeadingFont">
<B><a href="overview-summary.html">All Classes</a></B></FONT>
<BR>
<TABLE BORDER="0" WIDTH="100%">
<TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="GLOBALS.html" >GLOBALS</A>
<BR>
</FONT></TD>
</TR>
<TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="TinyMCE_Cleanup.html" >TinyMCE_Cleanup</A>
<BR>
</FONT></TD>
</TR>
<TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="TinyMCE_Control.html" >TinyMCE_Control</A>
<BR>
</FONT></TD>
</TR>
<TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="TinyMCE_Engine.html" >TinyMCE_Engine</A>
<BR>
</FONT></TD>
</TR>
<TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="TinyMCE_Layer.html" >TinyMCE_Layer</A>
<BR>
</FONT></TD>
</TR>
<TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="TinyMCE_Popup.html" >TinyMCE_Popup</A>
<BR>
</FONT></TD>
</TR>
<TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="TinyMCE_Selection.html" >TinyMCE_Selection</A>
<BR>
</FONT></TD>
</TR>
<TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="TinyMCE_UndoRedo.html" >TinyMCE_UndoRedo</A>
<BR>
</FONT></TD>
</TR>
</TABLE>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>
API Help
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title=" API Help";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">File</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV&nbsp;
&nbsp;NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="help-doc.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<CENTER>
<H1>
How This API Document Is Organized</H1>
</CENTER>
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.<H3>
Class</H3>
<BLOCKQUOTE>
<P>
Each class has its own separate page. Each of these pages has three sections consisting of a class description, summary tables, and detailed member descriptions:<UL>
<LI>Class inheritance diagram<LI>Direct Subclasses<LI>Class declaration<LI>Class description
<P>
<LI>Field Summary<LI>Constructor Summary<LI>Method Summary
<P>
<LI>Field Detail<LI>Constructor Detail<LI>Method Detail</UL>
Each summary entry contains the first sentence from the detailed description for that item. </BLOCKQUOTE>
<!--H3>
Tree (Class Hierarchy)</H3>
<BLOCKQUOTE>
There is a <A HREF="overview-tree.html">Class Hierarchy</A> page for all classes. The hierarchy page contains a list of classes. The classes are organized by inheritance structure starting with <code>Object</code>.<UL>
</BLOCKQUOTE-->
<!-- H3>
Deprecated API</H3>
<BLOCKQUOTE>
The <A HREF="deprecated-list.html">Deprecated API</A> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</BLOCKQUOTE-->
<H3>
Index</H3>
<BLOCKQUOTE>
The <A HREF="index-all.html">Index</A> contains an alphabetic list of all classes, constructors, methods, and fields.</BLOCKQUOTE>
<H3>
Prev/Next</H3>
These links take you to the next or previous class, interface, package, or related page.<H3>
Frames/No Frames</H3>
These links show and hide the HTML frames. All pages are available with or without frames.
<P>
<FONT SIZE="-1">
<EM>
This help file applies to API documentation generated using the standard doclet.</EM>
</FONT>
<BR>
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">File</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><b>Tree</b></FONT></A>&nbsp;</TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV&nbsp;
&nbsp;NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="help-doc.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<FONT SIZE="-1">
</FONT>
<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Fri Apr 14 21:59:23 2006</div>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
Index ()
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title="Index ()";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">File</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD-->
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV&nbsp;
&nbsp;NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="index-all.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<!--
Listing of letters
-->
&nbsp;<A HREF="index-all.html#_____">_</A>&nbsp;<A HREF="index-all.html#__A__">A</A>&nbsp;<A HREF="index-all.html#__B__">B</A>&nbsp;<A HREF="index-all.html#__C__">C</A>&nbsp;<A HREF="index-all.html#__D__">D</A>&nbsp;<A HREF="index-all.html#__E__">E</A>&nbsp;<A HREF="index-all.html#__F__">F</A>&nbsp;<A HREF="index-all.html#__G__">G</A>&nbsp;<A HREF="index-all.html#__H__">H</A>&nbsp;<A HREF="index-all.html#__I__">I</A>&nbsp;<A HREF="index-all.html#__L__">L</A>&nbsp;<A HREF="index-all.html#__M__">M</A>&nbsp;<A HREF="index-all.html#__N__">N</A>&nbsp;<A HREF="index-all.html#__O__">O</A>&nbsp;<A HREF="index-all.html#__P__">P</A>&nbsp;<A HREF="index-all.html#__Q__">Q</A>&nbsp;<A HREF="index-all.html#__R__">R</A>&nbsp;<A HREF="index-all.html#__S__">S</A>&nbsp;<A HREF="index-all.html#__T__">T</A>&nbsp;<A HREF="index-all.html#__U__">U</A>&nbsp;<A HREF="index-all.html#__W__">W</A>&nbsp;<A HREF="index-all.html#__X__">X</A>
<HR>
<!-- End letter listing -->
<A NAME="_____"><!-- --></A><H2>
<B>_</B></H2>
<DL>
<DT><A HREF="TinyMCE_Engine.html#_getElementById"><B>_getElementById(id, d)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#_removeInternal"><B>_removeInternal(n)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__A__"><!-- --></A><H2>
<B>A</B></H2>
<DL>
<DT><A HREF="TinyMCE_Engine.html#accessibleEventHandler"><B>accessibleEventHandler(e)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_UndoRedo.html#add"><B>add(l)</B></A> -
Instance method in class <A HREF="TinyMCE_UndoRedo.html">TinyMCE_UndoRedo</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#addButtonMap"><B>addButtonMap(m)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#addCSSClass"><B>addCSSClass(e, c, b)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#addEvent"><B>addEvent(o, n, h)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#addEventHandlers"><B>addEventHandlers(inst)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#addMCEControl"><B>addMCEControl(replace_element, form_element_name, target_document)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#addMenu"><B>addMenu(n, m)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#addPlugin"><B>addPlugin(n, p)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#addPlugin"><B>addPlugin(n, p)</B></A> -
Instance method in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Cleanup.html#addRuleStr"><B>addRuleStr(s)</B></A> -
Instance method in class <A HREF="TinyMCE_Cleanup.html">TinyMCE_Cleanup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#addSelectAccessibility"><B>addSelectAccessibility(e, s, w)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#addShortcut"><B>addShortcut(m, k, d, cmd, ui, va)</B></A> -
Instance method in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#addTheme"><B>addTheme(n, t)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#addToLang"><B>addToLang(prefix, ar)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#applyTemplate"><B>applyTemplate(h, as)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#autoResetDesignMode"><B>autoResetDesignMode()</B></A> -
Instance method in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__B__"><!-- --></A><H2>
<B>B</B></H2>
<DL>
<DT><A HREF="TinyMCE_Engine.html#buttonMap"><B>buttonMap</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__C__"><!-- --></A><H2>
<B>C</B></H2>
<DL>
<DT><A HREF="TinyMCE_Engine.html#callFunc"><B>callFunc(ins, p, n, m, a)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#cancelEvent"><B>cancelEvent(e)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#cleanup"><B>cleanup</B></A> -
Instance field in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#cleanupAnchors"><B>cleanupAnchors(doc)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#cleanupEventStr"><B>cleanupEventStr(s)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#cleanupHTMLCode"><B>cleanupHTMLCode(s)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#clearArray"><B>clearArray(a)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Popup.html#close"><B>close()</B></A> -
Instance method in class <A HREF="TinyMCE_Popup.html">TinyMCE_Popup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#closeWindow"><B>closeWindow(win)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#compressStyle"><B>compressStyle(ar, pr, sf, res)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#configs"><B>configs</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#confirmAdd"><B>confirmAdd(e, settings)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#convertAbsoluteURLToRelativeURL"><B>convertAbsoluteURLToRelativeURL(base_url, url_to_relative)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#convertAllRelativeURLs"><B>convertAllRelativeURLs(body)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#convertFontsToSpans"><B>convertFontsToSpans(doc)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#convertHexToRGB"><B>convertHexToRGB(s)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#convertRelativeToAbsoluteURL"><B>convertRelativeToAbsoluteURL(base_url, relative_url)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#convertRGBToHex"><B>convertRGBToHex(s, k)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#convertSpansToFonts"><B>convertSpansToFonts(doc)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#convertURL"><B>convertURL(url, node, on_save)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Layer.html#create"><B>create(n, c, p)</B></A> -
Instance method in class <A HREF="TinyMCE_Layer.html">TinyMCE_Layer</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#currentConfig"><B>currentConfig</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__D__"><!-- --></A><H2>
<B>D</B></H2>
<DL>
<DT><A HREF="TinyMCE_Engine.html#debug"><B>debug()</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#dialogCounter"><B>dialogCounter</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#dispatchCallback"><B>dispatchCallback(i, p, n)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__E__"><!-- --></A><H2>
<B>E</B></H2>
<DL>
<DT><A HREF="TinyMCE_Engine.html#entityDecode"><B>entityDecode(s)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#evalFunc"><B>evalFunc(f, idx, a)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#eventHandlers"><B>eventHandlers</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#execCommand"><B>execCommand(command, user_interface, value)</B></A> -
Instance method in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Popup.html#execCommand"><B>execCommand(command, user_interface, value)</B></A> -
Instance method in class <A HREF="TinyMCE_Popup.html">TinyMCE_Popup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#execCommand"><B>execCommand(command, user_interface, value)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#execCommandCallback"><B>execCommandCallback(i, p, n)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#execInstanceCommand"><B>execInstanceCommand(editor_id, command, user_interface, value, focus)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#executeCallback"><B>executeCallback(i, p, n)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Popup.html#executeOnLoad"><B>executeOnLoad(str)</B></A> -
Instance method in class <A HREF="TinyMCE_Popup.html">TinyMCE_Popup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#explode"><B>explode(d, s)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#extend"><B>extend(p, np)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__F__"><!-- --></A><H2>
<B>F</B></H2>
<DL>
<DT><A HREF="TinyMCE_Engine.html#fixGeckoBaseHREFBug"><B>fixGeckoBaseHREFBug(m, e, h)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Cleanup.html#formatHTML"><B>formatHTML(h)</B></A> -
Instance method in class <A HREF="TinyMCE_Cleanup.html">TinyMCE_Cleanup</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__G__"><!-- --></A><H2>
<B>G</B></H2>
<DL>
<DT><A HREF="TinyMCE_Layer.html#getAbsPosition"><B>getAbsPosition(n)</B></A> -
Instance method in class <A HREF="TinyMCE_Layer.html">TinyMCE_Layer</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#getAbsPosition"><B>getAbsPosition(n)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#getAttrib"><B>getAttrib(elm, name, default_value)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Layer.html#getBlocker"><B>getBlocker()</B></A> -
Instance method in class <A HREF="TinyMCE_Layer.html">TinyMCE_Layer</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#getBody"><B>getBody()</B></A> -
Instance method in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Selection.html#getBookmark"><B>getBookmark(simple)</B></A> -
Instance method in class <A HREF="TinyMCE_Selection.html">TinyMCE_Selection</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#getButtonHTML"><B>getButtonHTML(id, lang, img, cmd, ui, val)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#getContent"><B>getContent(editor_id)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#getControlHTML"><B>getControlHTML(c)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#getCSSClasses"><B>getCSSClasses(editor_id, doc)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#getDoc"><B>getDoc()</B></A> -
Instance method in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#getEditorId"><B>getEditorId(form_element)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Layer.html#getElement"><B>getElement()</B></A> -
Instance method in class <A HREF="TinyMCE_Layer.html">TinyMCE_Layer</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#getElementByAttributeValue"><B>getElementByAttributeValue(n, e, a, v)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#getElementsByAttributeValue"><B>getElementsByAttributeValue(n, e, a, v)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#getFocusElement"><B>getFocusElement()</B></A> -
Instance method in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Selection.html#getFocusElement"><B>getFocusElement()</B></A> -
Instance method in class <A HREF="TinyMCE_Selection.html">TinyMCE_Selection</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#getInstanceById"><B>getInstanceById(editor_id)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#getLang"><B>getLang(name, default_value, parse_entities, va)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#getNodeTree"><B>getNodeTree(n, na, t, nn)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#getOuterHTML"><B>getOuterHTML(e)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#getParam"><B>getParam(name, default_value, strip_whitespace, split_chr)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#getParentBlockElement"><B>getParentBlockElement(n)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#getParentElement"><B>getParentElement(node, names, attrib_name, attrib_value)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#getParentNode"><B>getParentNode(n, f)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#getRng"><B>getRng()</B></A> -
Instance method in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Selection.html#getRng"><B>getRng()</B></A> -
Instance method in class <A HREF="TinyMCE_Selection.html">TinyMCE_Selection</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Selection.html#getSel"><B>getSel()</B></A> -
Instance method in class <A HREF="TinyMCE_Selection.html">TinyMCE_Selection</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#getSel"><B>getSel()</B></A> -
Instance method in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Selection.html#getSelectedHTML"><B>getSelectedHTML()</B></A> -
Instance method in class <A HREF="TinyMCE_Selection.html">TinyMCE_Selection</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Selection.html#getSelectedText"><B>getSelectedText()</B></A> -
Instance method in class <A HREF="TinyMCE_Selection.html">TinyMCE_Selection</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#getVisualAidClass"><B>getVisualAidClass(class_name, state)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#getWin"><B>getWin()</B></A> -
Instance method in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#getWindowArg"><B>getWindowArg(n, d)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Popup.html#getWindowArg"><B>getWindowArg(name, default_value)</B></A> -
Instance method in class <A HREF="TinyMCE_Popup.html">TinyMCE_Popup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="GLOBALS.html#"><B>GLOBALS</B></A> -
class <A HREF="GLOBALS.html">GLOBALS</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__H__"><!-- --></A><H2>
<B>H</B></H2>
<DL>
<DT><A HREF="TinyMCE_Engine.html#handleEvent"><B>handleEvent(e)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#handleShortcut"><B>handleShortcut(e)</B></A> -
Instance method in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#handleVisualAid"><B>handleVisualAid(el, deep, state, inst, skip_dispatch)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#hasMenu"><B>hasMenu(n)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#hasMouseMoved"><B>hasMouseMoved</B></A> -
Instance field in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#hasPlugin"><B>hasPlugin(n)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#hasPlugin"><B>hasPlugin(n)</B></A> -
Instance method in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#hasTheme"><B>hasTheme(n)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Layer.html#hide"><B>hide()</B></A> -
Instance method in class <A HREF="TinyMCE_Layer.html">TinyMCE_Layer</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__I__"><!-- --></A><H2>
<B>I</B></H2>
<DL>
<DT><A HREF="TinyMCE_Engine.html#idCounter"><B>idCounter</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Popup.html#importClass"><B>importClass(c)</B></A> -
Instance method in class <A HREF="TinyMCE_Popup.html">TinyMCE_Popup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#importCSS"><B>importCSS(doc, css)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#importPluginLanguagePack"><B>importPluginLanguagePack(name, valid_languages)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#importThemeLanguagePack"><B>importThemeLanguagePack(name)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Popup.html#init"><B>init()</B></A> -
Instance method in class <A HREF="TinyMCE_Popup.html">TinyMCE_Popup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Cleanup.html#init"><B>init(s)</B></A> -
Instance method in class <A HREF="TinyMCE_Cleanup.html">TinyMCE_Cleanup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#init"><B>init(settings)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#insertAfter"><B>insertAfter(n, r)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Selection.html#instance"><B>instance</B></A> -
Instance field in class <A HREF="TinyMCE_Selection.html">TinyMCE_Selection</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_UndoRedo.html#instance"><B>instance</B></A> -
Instance field in class <A HREF="TinyMCE_UndoRedo.html">TinyMCE_UndoRedo</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#instances"><B>instances</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#isBlockElement"><B>isBlockElement(n)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#isDirty"><B>isDirty()</B></A> -
Instance method in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#isGecko"><B>isGecko</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#isHidden"><B>isHidden()</B></A> -
Instance method in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#isInstance"><B>isInstance(o)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#isLoaded"><B>isLoaded</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#isMac"><B>isMac</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#isMSIE"><B>isMSIE</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#isMSIE5"><B>isMSIE5</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#isMSIE5_0"><B>isMSIE5_0</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#isNS7"><B>isNS7</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#isNS71"><B>isNS71</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#isOpera"><B>isOpera</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#isSafari"><B>isSafari</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#isTinyMCE_Control"><B>isTinyMCE_Control</B></A> -
Instance field in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Layer.html#isVisible"><B>isVisible()</B></A> -
Instance method in class <A HREF="TinyMCE_Layer.html">TinyMCE_Layer</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__L__"><!-- --></A><H2>
<B>L</B></H2>
<DL>
<DT><A HREF="TinyMCE_Engine.html#loadCSS"><B>loadCSS(url)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#loadedFiles"><B>loadedFiles</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#loadedPlugins"><B>loadedPlugins</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#loadPlugin"><B>loadPlugin(n, u)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#loadScript"><B>loadScript(url)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__M__"><!-- --></A><H2>
<B>M</B></H2>
<DL>
<DT><A HREF="TinyMCE_Engine.html#majorVersion"><B>majorVersion</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#menus"><B>menus</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#minorVersion"><B>minorVersion</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Layer.html#moveBy"><B>moveBy(x, y)</B></A> -
Instance method in class <A HREF="TinyMCE_Layer.html">TinyMCE_Layer</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Layer.html#moveRelativeTo"><B>moveRelativeTo(re, p)</B></A> -
Instance method in class <A HREF="TinyMCE_Layer.html">TinyMCE_Layer</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Layer.html#moveTo"><B>moveTo(x, y)</B></A> -
Instance method in class <A HREF="TinyMCE_Layer.html">TinyMCE_Layer</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Selection.html#moveToBookmark"><B>moveToBookmark(bookmark)</B></A> -
Instance method in class <A HREF="TinyMCE_Selection.html">TinyMCE_Selection</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__N__"><!-- --></A><H2>
<B>N</B></H2>
<DL>
<DT><A HREF="TinyMCE_Engine.html#nextNode"><B>nextNode(e, n)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__O__"><!-- --></A><H2>
<B>O</B></H2>
<DL>
<DT><A HREF="TinyMCE_Popup.html#onLoad"><B>onLoad()</B></A> -
Instance method in class <A HREF="TinyMCE_Popup.html">TinyMCE_Popup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#onLoad"><B>onLoad()</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#onMouseMove"><B>onMouseMove()</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Popup.html#openBrowser"><B>openBrowser(element_id, type, option)</B></A> -
Instance method in class <A HREF="TinyMCE_Popup.html">TinyMCE_Popup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#openWindow"><B>openWindow(template, args)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__P__"><!-- --></A><H2>
<B>P</B></H2>
<DL>
<DT><A HREF="TinyMCE_Layer.html#parseInt"><B>parseInt(s)</B></A> -
Instance method in class <A HREF="TinyMCE_Layer.html">TinyMCE_Layer</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Cleanup.html#parseRuleStr"><B>parseRuleStr(s)</B></A> -
Instance method in class <A HREF="TinyMCE_Cleanup.html">TinyMCE_Cleanup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#parseStyle"><B>parseStyle(str)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#parseURL"><B>parseURL(url_str)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Popup.html#pickColor"><B>pickColor(e, element_id)</B></A> -
Instance method in class <A HREF="TinyMCE_Popup.html">TinyMCE_Popup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#plugins"><B>plugins</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#plugins"><B>plugins</B></A> -
Instance field in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#prevNode"><B>prevNode(e, n)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__Q__"><!-- --></A><H2>
<B>Q</B></H2>
<DL>
<DT><A HREF="TinyMCE_Control.html#queryCommandState"><B>queryCommandState(c)</B></A> -
Instance method in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#queryCommandValue"><B>queryCommandValue(c)</B></A> -
Instance method in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#queryInstanceCommandState"><B>queryInstanceCommandState(editor_id, command)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#queryInstanceCommandValue"><B>queryInstanceCommandValue(editor_id, command)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__R__"><!-- --></A><H2>
<B>R</B></H2>
<DL>
<DT><A HREF="TinyMCE_UndoRedo.html#redo"><B>redo()</B></A> -
Instance method in class <A HREF="TinyMCE_UndoRedo.html">TinyMCE_UndoRedo</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#regexpReplace"><B>regexpReplace(in_str, reg_exp, replace_str, opts)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#releaseDate"><B>releaseDate</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#removeCSSClass"><B>removeCSSClass(e, c)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#removeMCEControl"><B>removeMCEControl(editor_id)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#removeTinyMCEFormElements"><B>removeTinyMCEFormElements(form_obj)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#renameElement"><B>renameElement(e, n, d)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#repaint"><B>repaint()</B></A> -
Instance method in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#replaceVar"><B>replaceVar(h, r, v)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#resetForm"><B>resetForm(form_index)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Layer.html#resizeBy"><B>resizeBy(w, h)</B></A> -
Instance method in class <A HREF="TinyMCE_Layer.html">TinyMCE_Layer</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Layer.html#resizeTo"><B>resizeTo(w, h)</B></A> -
Instance method in class <A HREF="TinyMCE_Layer.html">TinyMCE_Layer</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Popup.html#resizeToContent"><B>resizeToContent()</B></A> -
Instance method in class <A HREF="TinyMCE_Popup.html">TinyMCE_Popup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Popup.html#resizeToInnerSize"><B>resizeToInnerSize()</B></A> -
Instance method in class <A HREF="TinyMCE_Popup.html">TinyMCE_Popup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Popup.html#restoreSelection"><B>restoreSelection()</B></A> -
Instance method in class <A HREF="TinyMCE_Popup.html">TinyMCE_Popup</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__S__"><!-- --></A><H2>
<B>S</B></H2>
<DL>
<DT><A HREF="TinyMCE_Selection.html#scrollToNode"><B>scrollToNode(node)</B></A> -
Instance method in class <A HREF="TinyMCE_Selection.html">TinyMCE_Selection</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#selection"><B>selection</B></A> -
Instance field in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Selection.html#selectNode"><B>selectNode(node, collapse, select_text_node, to_start)</B></A> -
Instance method in class <A HREF="TinyMCE_Selection.html">TinyMCE_Selection</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#selectNodes"><B>selectNodes(n, f, a)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Cleanup.html#serializeNodeAsHTML"><B>serializeNodeAsHTML(n)</B></A> -
Instance method in class <A HREF="TinyMCE_Cleanup.html">TinyMCE_Cleanup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Cleanup.html#serializeNodeAsXML"><B>serializeNodeAsXML(n)</B></A> -
Instance method in class <A HREF="TinyMCE_Cleanup.html">TinyMCE_Cleanup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#serializeStyle"><B>serializeStyle(ar)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#serializeURL"><B>serializeURL(up)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#setAttrib"><B>setAttrib(element, name, value, fix_value)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#setBaseHREF"><B>setBaseHREF(u)</B></A> -
Instance method in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Layer.html#setBlockMode"><B>setBlockMode(s)</B></A> -
Instance method in class <A HREF="TinyMCE_Layer.html">TinyMCE_Layer</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#setContent"><B>setContent(h)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#setInnerHTML"><B>setInnerHTML(e, h)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#setOuterHTML"><B>setOuterHTML(e, h)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#setPluginBaseURL"><B>setPluginBaseURL(n, u)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#setStyleAttrib"><B>setStyleAttrib(elm, name, value)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#settings"><B>settings</B></A> -
Instance field in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#setupContent"><B>setupContent(editor_id)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#setWindowArg"><B>setWindowArg(n, v)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#shortcuts"><B>shortcuts</B></A> -
Instance field in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Layer.html#show"><B>show()</B></A> -
Instance method in class <A HREF="TinyMCE_Layer.html">TinyMCE_Layer</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Cleanup.html#split"><B>split(re, s)</B></A> -
Instance method in class <A HREF="TinyMCE_Cleanup.html">TinyMCE_Cleanup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#storeAwayURLs"><B>storeAwayURLs(s)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#submitPatch"><B>submitPatch()</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#switchClass"><B>switchClass(ei, c)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#switchClassCache"><B>switchClassCache</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#switchSettings"><B>switchSettings()</B></A> -
Instance method in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__T__"><!-- --></A><H2>
<B>T</B></H2>
<DL>
<DT><A HREF="TinyMCE_Engine.html#themes"><B>themes</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Cleanup.html#"><B>TinyMCE_Cleanup</B></A> -
class <A HREF="TinyMCE_Cleanup.html">TinyMCE_Cleanup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Cleanup.html#constructor_detail"><B>TinyMCE_Cleanup()</B></A> -
Constructor in class <A HREF="TinyMCE_Cleanup.html">TinyMCE_Cleanup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#"><B>TinyMCE_Control</B></A> -
class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#constructor_detail"><B>TinyMCE_Control(settings)</B></A> -
Constructor in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#"><B>TinyMCE_Engine</B></A> -
class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#constructor_detail"><B>TinyMCE_Engine()</B></A> -
Constructor in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Layer.html#"><B>TinyMCE_Layer</B></A> -
class <A HREF="TinyMCE_Layer.html">TinyMCE_Layer</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Layer.html#constructor_detail"><B>TinyMCE_Layer(id, bm)</B></A> -
Constructor in class <A HREF="TinyMCE_Layer.html">TinyMCE_Layer</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="GLOBALS.html#TinyMCE_Menu"><B>TinyMCE_Menu()</B></A> -
Class method in class <A HREF="GLOBALS.html">GLOBALS</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Popup.html#"><B>TinyMCE_Popup</B></A> -
class <A HREF="TinyMCE_Popup.html">TinyMCE_Popup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Popup.html#constructor_detail"><B>TinyMCE_Popup()</B></A> -
Constructor in class <A HREF="TinyMCE_Popup.html">TinyMCE_Popup</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Selection.html#"><B>TinyMCE_Selection</B></A> -
class <A HREF="TinyMCE_Selection.html">TinyMCE_Selection</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Selection.html#constructor_detail"><B>TinyMCE_Selection(inst)</B></A> -
Constructor in class <A HREF="TinyMCE_Selection.html">TinyMCE_Selection</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_UndoRedo.html#"><B>TinyMCE_UndoRedo</B></A> -
class <A HREF="TinyMCE_UndoRedo.html">TinyMCE_UndoRedo</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_UndoRedo.html#constructor_detail"><B>TinyMCE_UndoRedo(inst)</B></A> -
Constructor in class <A HREF="TinyMCE_UndoRedo.html">TinyMCE_UndoRedo</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#triggerNodeChange"><B>triggerNodeChange(focus, setup_content)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#triggerSave"><B>triggerSave(skip_cleanup, skip_callback)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#triggerSave"><B>triggerSave(skip_cleanup, skip_callback)</B></A> -
Instance method in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#trim"><B>trim(s)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_UndoRedo.html#typingUndoIndex"><B>typingUndoIndex</B></A> -
Instance field in class <A HREF="TinyMCE_UndoRedo.html">TinyMCE_UndoRedo</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__U__"><!-- --></A><H2>
<B>U</B></H2>
<DL>
<DT><A HREF="TinyMCE_UndoRedo.html#undo"><B>undo()</B></A> -
Instance method in class <A HREF="TinyMCE_UndoRedo.html">TinyMCE_UndoRedo</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_UndoRedo.html#undoIndex"><B>undoIndex</B></A> -
Instance field in class <A HREF="TinyMCE_UndoRedo.html">TinyMCE_UndoRedo</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_UndoRedo.html#undoLevels"><B>undoLevels</B></A> -
Instance field in class <A HREF="TinyMCE_UndoRedo.html">TinyMCE_UndoRedo</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#undoRedo"><B>undoRedo</B></A> -
Instance field in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_UndoRedo.html#undoRedo"><B>undoRedo</B></A> -
Instance field in class <A HREF="TinyMCE_UndoRedo.html">TinyMCE_UndoRedo</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Control.html#undoRedoLevel"><B>undoRedoLevel</B></A> -
Instance field in class <A HREF="TinyMCE_Control.html">TinyMCE_Control</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#unloadHandler"><B>unloadHandler()</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Layer.html#updateBlocker"><B>updateBlocker()</B></A> -
Instance method in class <A HREF="TinyMCE_Layer.html">TinyMCE_Layer</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Engine.html#updateContent"><B>updateContent(form_element_name)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__W__"><!-- --></A><H2>
<B>W</B></H2>
<DL>
<DT><A HREF="TinyMCE_Engine.html#windowArgs"><B>windowArgs</B></A> -
Instance field in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="__X__"><!-- --></A><H2>
<B>X</B></H2>
<DL>
<DT><A HREF="TinyMCE_Engine.html#xmlEncode"><B>xmlEncode(s)</B></A> -
Instance method in class <A HREF="TinyMCE_Engine.html">TinyMCE_Engine</A>
<DD>&nbsp;
</DL>
<DL>
<DT><A HREF="TinyMCE_Cleanup.html#xmlEncode"><B>xmlEncode(s)</B></A> -
Instance method in class <A HREF="TinyMCE_Cleanup.html">TinyMCE_Cleanup</A>
<DD>&nbsp;
</DL>
<HR>
<!--
Listing of letters
-->
&nbsp;<A HREF="index-all.html#_____">_</A>&nbsp;<A HREF="index-all.html#__A__">A</A>&nbsp;<A HREF="index-all.html#__B__">B</A>&nbsp;<A HREF="index-all.html#__C__">C</A>&nbsp;<A HREF="index-all.html#__D__">D</A>&nbsp;<A HREF="index-all.html#__E__">E</A>&nbsp;<A HREF="index-all.html#__F__">F</A>&nbsp;<A HREF="index-all.html#__G__">G</A>&nbsp;<A HREF="index-all.html#__H__">H</A>&nbsp;<A HREF="index-all.html#__I__">I</A>&nbsp;<A HREF="index-all.html#__L__">L</A>&nbsp;<A HREF="index-all.html#__M__">M</A>&nbsp;<A HREF="index-all.html#__N__">N</A>&nbsp;<A HREF="index-all.html#__O__">O</A>&nbsp;<A HREF="index-all.html#__P__">P</A>&nbsp;<A HREF="index-all.html#__Q__">Q</A>&nbsp;<A HREF="index-all.html#__R__">R</A>&nbsp;<A HREF="index-all.html#__S__">S</A>&nbsp;<A HREF="index-all.html#__T__">T</A>&nbsp;<A HREF="index-all.html#__U__">U</A>&nbsp;<A HREF="index-all.html#__W__">W</A>&nbsp;<A HREF="index-all.html#__X__">X</A>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">File</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><b>Tree</b></FONT></A>&nbsp;</TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD-->
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV&nbsp;
&nbsp;NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="index-all.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<FONT SIZE="-1">
</FONT>
<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/">JSDoc</a> on Fri Apr 14 21:59:23 2006</div>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>
Generated Javascript Documentation
</TITLE>
</HEAD>
<FRAMESET cols="20%,80%">
<FRAMESET rows="40%,50%">
<FRAME src="overview-frame.html" name="overviewFrame">
<FRAME src="allclasses-frame.html" name="packageFrame">
</FRAMESET>
<FRAME src="overview-summary.html" name="classFrame">
</FRAMESET>
<NOFRAMES>
<H2>
Frame Alert</H2>
<P>
This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
<BR>
Link to <A HREF="allclasses-frame.html">Non-frame version.</A></NOFRAMES>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
TinyMCE_Array.class.js
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title=" TinyMCE_Array.class.js";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">
<H3 class="FrameHeadingFont"><B></B></H3>
<FONT size="+1" CLASS="FrameHeadingFont">
<B><a href="overview-summary-TinyMCE_Array.class.js.html"
target="classFrame">TinyMCE_Array.class.js</a></B></FONT>
<BR>
<TABLE BORDER="0" WIDTH="100%">
</TABLE>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
TinyMCE_Cleanup.class.js
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title=" TinyMCE_Cleanup.class.js";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">
<H3 class="FrameHeadingFont"><B></B></H3>
<FONT size="+1" CLASS="FrameHeadingFont">
<B><a href="overview-summary-TinyMCE_Cleanup.class.js.html"
target="classFrame">TinyMCE_Cleanup.class.js</a></B></FONT>
<BR>
<TABLE BORDER="0" WIDTH="100%">
<TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="TinyMCE_Cleanup.html" TARGET="classFrame">TinyMCE_Cleanup</A>
<BR>
</FONT></TD>
</TR>
</TABLE>
</BODY>
</HTML>