[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/editor/atto/ -> lib.php (summary)

YUI text editor integration.

Copyright: 2013 Damyon Wiese <[email protected]>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 181 lines (6 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

atto_texteditor:: (6 methods):
  supported_by_browser()
  get_supported_formats()
  get_preferred_format()
  supports_repositories()
  use_editor()
  get_init_params()


Class: atto_texteditor  - X-Ref

This is the texteditor implementation.

supported_by_browser()   X-Ref
Is the current browser supported by this editor?

Of course!
return: bool

get_supported_formats()   X-Ref
Returns array of supported text formats.

return: array

get_preferred_format()   X-Ref
Returns text format preferred by this editor.

return: int

supports_repositories()   X-Ref
Does this editor support picking from repositories?

return: bool

use_editor($elementid, array $options=null, $fpoptions=null)   X-Ref
Use this editor for given element.

param: string $elementid
param: array $options
param: null $fpoptions

get_init_params($elementid, array $options = null, array $fpoptions = null, $plugins = null)   X-Ref
Create a params array to init the editor.

param: string $elementid
param: array $options
param: array $fpoptions



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1