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

Public Member Functions

 MoodleQuickForm_submit ($elementName=null, $value=null, $attributes=null)
 onQuickFormEvent ($event, $arg, &$caller)
 getElementTemplateType ()
 freeze ()

Detailed Description

HTML class for a submit type element

Author:
Adam Daniel <adaniel1@eesus.jnj.com>
Bertrand Mansion <bmansion@mamasam.com>
Version:
1.0
Since:
PHP4.04pl1 public

Definition at line 13 of file submit.php.


Member Function Documentation

freeze ( )

Freeze the element so that only its value is returned

public

Returns:
void

Reimplemented from HTML_QuickForm_submit.

Reimplemented in MoodleQuickForm_cancel.

Definition at line 61 of file submit.php.

Slightly different container template when frozen. Don't want to display a submit button if the form is frozen.

Returns:
string

Definition at line 53 of file submit.php.

MoodleQuickForm_submit ( elementName = null,
value = null,
attributes = null 
)

Definition at line 14 of file submit.php.

Here is the call graph for this function:

Here is the caller graph for this function:

onQuickFormEvent ( event,
arg,
&$  caller 
)

Called by HTML_QuickForm whenever form event is made on this element

Parameters:
string$eventName of event
mixed$argevent arguments
object$callercalling object
Since:
1.0 public
Returns:
void

Reimplemented from HTML_QuickForm_input.

Reimplemented in MoodleQuickForm_cancel.

Definition at line 27 of file submit.php.

Here is the call graph for this function:


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