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

Public Member Functions

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

Detailed Description

Definition at line 29 of file lib.php.


Member Function Documentation

Returns main preferred text format.

Returns:
int text format

Reimplemented from texteditor.

Definition at line 42 of file lib.php.

Returns list of supported text formats

Returns:
array Array (FORMAT=>FORMAT)

Reimplemented from texteditor.

Definition at line 34 of file lib.php.

Is editor supported in current browser?

Returns:
bool

Reimplemented from texteditor.

Definition at line 30 of file lib.php.

Supports file picker and repos?

Returns:
object book object

Reimplemented from texteditor.

Definition at line 46 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 50 of file lib.php.


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