|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Data Structures | |
| class | texteditor |
Namespaces | |
| namespace | core |
| namespace | moodlecore |
Functions | |
| editors_get_preferred_editor ($format=NULL) | |
| editors_get_preferred_format () | |
| editors_get_enabled () | |
| get_texteditor ($editorname) | |
| editors_get_available () | |
| editors_head_setup () | |
| can_use_html_editor () | |
Does the user want and can edit using rich text html editor?
Definition at line 247 of file editorlib.php.


Get the list of available editors
Definition at line 159 of file editorlib.php.


Returns list of enabled text editors
Definition at line 113 of file editorlib.php.


| editors_get_preferred_editor | ( | $ | format = NULL | ) |
Returns users preferred editor for given format
| int | $format | text format or null of none |
Definition at line 35 of file editorlib.php.


Returns users preferred text format.
Definition at line 87 of file editorlib.php.


Setup all JS and CSS needed for editors.
Definition at line 171 of file editorlib.php.


| get_texteditor | ( | $ | editorname | ) |
Returns instance of text editor
| string | $editorname | name of editor (textarea, tinymce, ...) |
Definition at line 139 of file editorlib.php.
