|
Moodle
2.2.1
http://www.collinsharper.com
|

Public Member Functions | |
| supported_by_browser () | |
| get_supported_formats () | |
| get_preferred_format () | |
| supports_repositories () | |
| use_editor ($elementid, array $options=null, $fpoptions=null) | |
| head_setup () | |
Definition at line 198 of file editorlib.php.
| get_preferred_format | ( | ) | [abstract] |
Returns main preferred text format.
Reimplemented in tinymce_texteditor, and textarea_texteditor.
| get_supported_formats | ( | ) | [abstract] |
Returns list of supported text formats
Reimplemented in tinymce_texteditor, and textarea_texteditor.
| head_setup | ( | ) |
Setup all JS and CSS needed for editor.
Reimplemented in tinymce_texteditor.
Definition at line 236 of file editorlib.php.
| supported_by_browser | ( | ) | [abstract] |
Is editor supported in current browser?
Reimplemented in tinymce_texteditor, and textarea_texteditor.
| supports_repositories | ( | ) | [abstract] |
Supports file picker and repos?
Reimplemented in tinymce_texteditor, and textarea_texteditor.
| use_editor | ( | $ | elementid, |
| array $ | options = null, |
||
| $ | fpoptions = null |
||
| ) | [abstract] |
Add required JS needed for editor
| string | $elementid | id of text area to be converted to editor |
| array | $options | |
| obejct | $fpoptions | file picker options |
Reimplemented in tinymce_texteditor, and textarea_texteditor.