Moodle  2.2.1
http://www.collinsharper.com
tinymce_texteditor Class Reference
Inheritance diagram for tinymce_texteditor:
Collaboration diagram for tinymce_texteditor:

Public Member Functions

 supported_by_browser ()
 get_supported_formats ()
 get_preferred_format ()
 supports_repositories ()
 head_setup ()
 use_editor ($elementid, array $options=null, $fpoptions=null)

Data Fields

 $version = '3.4.6'

Protected Member Functions

 get_init_params ($elementid, array $options=null)

Detailed Description

Definition at line 29 of file lib.php.


Member Function Documentation

get_init_params ( elementid,
array options = null 
) [protected]

Definition at line 84 of file lib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Returns main preferred text format.

Returns:
int text format

Reimplemented from texteditor.

Definition at line 60 of file lib.php.

Returns list of supported text formats

Returns:
array Array (FORMAT=>FORMAT)

Reimplemented from texteditor.

Definition at line 56 of file lib.php.

Setup all JS and CSS needed for editor.

Returns:
void

Reimplemented from texteditor.

Definition at line 68 of file lib.php.

Is editor supported in current browser?

Returns:
bool

Reimplemented from texteditor.

Definition at line 33 of file lib.php.

Here is the call graph for this function:

Supports file picker and repos?

Returns:
object book object

Reimplemented from texteditor.

Definition at line 64 of file lib.php.

use_editor ( elementid,
array options = null,
fpoptions = null 
)

Add required JS needed for editor

Parameters:
string$elementidid of text area to be converted to editor
array$options
obejct$fpoptionsfile picker options
Returns:
void

Reimplemented from texteditor.

Definition at line 71 of file lib.php.

Here is the call graph for this function:


Field Documentation

$version = '3.4.6'

Definition at line 31 of file lib.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations