ILIAS
Release_3_10_x_branch Revision 61812
|
Class ilTinyMCE functions for the integration of the tinyMCE javascript editor component. More...
Public Member Functions | |
ilTinyMCE () | |
_buildAdvancedBlockformatsFromHTMLTags ($a_html_tags) | |
_buildAdvancedButtonsFromHTMLTags ($a_html_tags) | |
_getEditorLanguage () | |
_getValidElementsFromHTMLTags ($a_html_tags) | |
ilTinyMCE () | |
addRTESupport ($obj_id, $obj_type, $a_module="", $allowFormElements=FALSE) | |
Returns the path to the content css file for the editor. | |
addCustomRTESupport ($obj_id, $obj_type, $tags) | |
Adds custom support for an RTE in an ILIAS form. | |
addUserTextEditor ($editor_selector) | |
Adds custom support for an RTE in an ILIAS form. | |
setStyleSelect ($a_styleselect) | |
Set Enable Style Selecttion. | |
getStyleSelect () | |
Get Enable Style Selecttion. | |
_buildAdvancedBlockformatsFromHTMLTags ($a_html_tags) | |
_buildAdvancedButtonsFromHTMLTags ($a_html_tags, $remove_buttons="") | |
_buildButtonsFromHTMLTags ($a_html_tags, $remove_buttons="") | |
_buildAdvancedTableButtonsFromHTMLTags ($a_html_tags) | |
_getEditorLanguage () | |
_getValidElementsFromHTMLTags ($a_html_tags) | |
Public Member Functions inherited from ilRTE | |
ilRTE () | |
addPlugin ($a_plugin_name) | |
Adds a plugin to the plugin list. | |
addButton ($a_button_name) | |
Adds a button to the button list. | |
removePlugin ($a_plugin_name) | |
Removes a plugin from the plugin list. | |
removeButton ($a_button_name) | |
Removes a button from the button list. | |
addRTESupport () | |
Adds support for an RTE in an ILIAS form. | |
_getRTEClassname () | |
_cleanupMediaObjectUsage ($a_text, $a_usage_type, $a_usage_id) | |
synchronises appearances of media objects in $a_text with media object usage table | |
_replaceMediaObjectImageSrc ($a_text, $a_direction=0) | |
replaces image source from mob image urls with the mob id or replaces mob id with the correct image source |
Additional Inherited Members | |
Data Fields inherited from ilRTE | |
$plugins | |
$buttons | |
$tpl | |
$ctrl | |
$lng |
Class ilTinyMCE functions for the integration of the tinyMCE javascript editor component.
Tiny MCE editor class.
This class provides access methods for Tiny MCE
class.ilTinyMCE.php
Definition at line 34 of file class.ilTinyMCE.php.
ilTinyMCE::_buildAdvancedBlockformatsFromHTMLTags | ( | $a_html_tags | ) |
Definition at line 41 of file class.ilTinyMCE.php.
Referenced by _buildAdvancedButtonsFromHTMLTags(), _buildButtonsFromHTMLTags(), addCustomRTESupport(), and addRTESupport().
ilTinyMCE::_buildAdvancedBlockformatsFromHTMLTags | ( | $a_html_tags | ) |
Definition at line 280 of file class.ilTinyMCE.php.
ilTinyMCE::_buildAdvancedButtonsFromHTMLTags | ( | $a_html_tags | ) |
Definition at line 95 of file class.ilTinyMCE.php.
References _buildAdvancedBlockformatsFromHTMLTags().
Referenced by addCustomRTESupport(), and addRTESupport().
ilTinyMCE::_buildAdvancedButtonsFromHTMLTags | ( | $a_html_tags, | |
$remove_buttons = "" |
|||
) |
Definition at line 334 of file class.ilTinyMCE.php.
References $res, and _buildAdvancedBlockformatsFromHTMLTags().
ilTinyMCE::_buildAdvancedTableButtonsFromHTMLTags | ( | $a_html_tags | ) |
Definition at line 556 of file class.ilTinyMCE.php.
Referenced by addCustomRTESupport(), and addRTESupport().
ilTinyMCE::_buildButtonsFromHTMLTags | ( | $a_html_tags, | |
$remove_buttons = "" |
|||
) |
Definition at line 451 of file class.ilTinyMCE.php.
References $res, and _buildAdvancedBlockformatsFromHTMLTags().
Referenced by addUserTextEditor().
ilTinyMCE::_getEditorLanguage | ( | ) |
Definition at line 191 of file class.ilTinyMCE.php.
References $lang.
Referenced by addCustomRTESupport(), addRTESupport(), and addUserTextEditor().
ilTinyMCE::_getEditorLanguage | ( | ) |
Definition at line 566 of file class.ilTinyMCE.php.
References $lang.
ilTinyMCE::_getValidElementsFromHTMLTags | ( | $a_html_tags | ) |
Definition at line 205 of file class.ilTinyMCE.php.
Referenced by addCustomRTESupport(), addRTESupport(), and addUserTextEditor().
ilTinyMCE::_getValidElementsFromHTMLTags | ( | $a_html_tags | ) |
Definition at line 580 of file class.ilTinyMCE.php.
ilTinyMCE::addCustomRTESupport | ( | $obj_id, | |
$obj_type, | |||
$tags | |||
) |
Adds custom support for an RTE in an ILIAS form.
Adds custom support for an RTE in an ILIAS form
public
Reimplemented from ilRTE.
Definition at line 186 of file class.ilTinyMCE.php.
References $_COOKIE, ilRTE\$tpl, _buildAdvancedBlockformatsFromHTMLTags(), _buildAdvancedButtonsFromHTMLTags(), _buildAdvancedTableButtonsFromHTMLTags(), _getEditorLanguage(), _getValidElementsFromHTMLTags(), ilUtil\getNewContentStyleSheetLocation(), and getStyleSelect().
ilTinyMCE::addRTESupport | ( | $obj_id, | |
$obj_type, | |||
$a_module = "" , |
|||
$allowFormElements = FALSE |
|||
) |
Returns the path to the content css file for the editor.
Returns the path to the content css file for the editor
Adds support for an RTE in an ILIAS form
string | $a_module | Module or object which should use the HTML tags public |
Definition at line 115 of file class.ilTinyMCE.php.
References $_COOKIE, ilRTE\$tpl, _buildAdvancedBlockformatsFromHTMLTags(), _buildAdvancedButtonsFromHTMLTags(), _buildAdvancedTableButtonsFromHTMLTags(), _getEditorLanguage(), ilObjAdvancedEditing\_getRichTextEditor(), ilObjAdvancedEditing\_getRichTextEditorUserState(), ilObjAdvancedEditing\_getUsedHTMLTags(), _getValidElementsFromHTMLTags(), ilObjAdvancedEditing\_setRichTextEditorUserState(), ilUtil\getNewContentStyleSheetLocation(), and getStyleSelect().
ilTinyMCE::addUserTextEditor | ( | $editor_selector | ) |
Adds custom support for an RTE in an ILIAS form.
Adds custom support for an RTE in an ILIAS form
string | $editor_selector | CSS class of the text input field(s) public |
Reimplemented from ilRTE.
Definition at line 227 of file class.ilTinyMCE.php.
References _buildButtonsFromHTMLTags(), _getEditorLanguage(), _getValidElementsFromHTMLTags(), ilUtil\getNewContentStyleSheetLocation(), and getStyleSelect().
ilTinyMCE::getStyleSelect | ( | ) |
Get Enable Style Selecttion.
Definition at line 274 of file class.ilTinyMCE.php.
Referenced by addCustomRTESupport(), addRTESupport(), and addUserTextEditor().
ilTinyMCE::ilTinyMCE | ( | ) |
Definition at line 36 of file class.ilTinyMCE.php.
ilTinyMCE::ilTinyMCE | ( | ) |
Definition at line 37 of file class.ilTinyMCE.php.
References ilRTE\ilRTE(), and setStyleSelect().
ilTinyMCE::setStyleSelect | ( | $a_styleselect | ) |
Set Enable Style Selecttion.
boolean | $a_styleselect | Enable Style Selecttion |
Definition at line 264 of file class.ilTinyMCE.php.
Referenced by ilTinyMCE().