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

Public Member Functions

 MoodleQuickForm_htmleditor ($elementName=null, $elementLabel=null, $options=array(), $attributes=null)
 setHelpButton ($helpbuttonargs, $function='helpbutton')
 toHtml ()
 getFrozenHtml ()

Data Fields

 $_type
 $_canUseHtmlEditor
 $_options = array('canUseHtmlEditor'=>'detect','rows'=>10, 'cols'=>45, 'width'=>0,'height'=>0)

Detailed Description

HTML class for htmleditor type element

Author:
Jamie Pratt public

Definition at line 11 of file htmleditor.php.


Member Function Documentation

What to display when element is frozen.

public

Returns:
string

Reimplemented from HTML_QuickForm_textarea.

Definition at line 82 of file htmleditor.php.

Here is the call graph for this function:

Here is the caller graph for this function:

MoodleQuickForm_htmleditor ( elementName = null,
elementLabel = null,
options = array(),
attributes = null 
)

Definition at line 15 of file htmleditor.php.

Here is the call graph for this function:

setHelpButton ( helpbuttonargs,
function = 'helpbutton' 
)

set html for help button

public

Parameters:
array$helparray of arguments to make a help button
string$functionfunction name to call to get html

Reimplemented from MoodleQuickForm_textarea.

Definition at line 49 of file htmleditor.php.

Here is the call graph for this function:

toHtml ( )

Returns the textarea element in HTML

Since:
1.0 public
Returns:
string

Reimplemented from MoodleQuickForm_textarea.

Definition at line 53 of file htmleditor.php.

Here is the call graph for this function:


Field Documentation

$_canUseHtmlEditor

Definition at line 13 of file htmleditor.php.

$_options = array('canUseHtmlEditor'=>'detect','rows'=>10, 'cols'=>45, 'width'=>0,'height'=>0)

Definition at line 14 of file htmleditor.php.

$_type

Reimplemented from HTML_QuickForm_element.

Definition at line 12 of file htmleditor.php.


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