[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
Utility classes and functions for text editor integration.
Copyright: | 2009 Petr Skoda {@link http://skodak.org} |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 219 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
editors_get_preferred_editor($format = NULL) X-Ref |
Returns users preferred editor for given format param: int $format text format or null of none return: texteditor object |
editors_get_preferred_format() X-Ref |
Returns users preferred text format. return: int standard text format |
editors_get_enabled() X-Ref |
Returns list of enabled text editors return: array of name=>texteditor |
get_texteditor($editorname) X-Ref |
Returns instance of text editor param: string $editorname name of editor (textarea, tinymce, ...) return: object|bool texeditor instance or false if does not exist |
editors_get_available() X-Ref |
Get the list of available editors return: array Array ('editorname'=>'localised editor name') |
editors_head_setup() X-Ref |
Setup all JS and CSS needed for editors. return: void |
head_setup() X-Ref |
Setup all JS and CSS needed for editor. return: void |
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |