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

Public Member Functions

 HTML_QuickForm_submit ($elementName=null, $value=null, $attributes=null)
 freeze ()
 exportValue (&$submitValues, $assoc=false)

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 33 of file submit.php.


Member Function Documentation

exportValue ( &$  submitValues,
assoc = false 
)

Only return the value if it is found within $submitValues (i.e. if this particular submit button was clicked)

Reimplemented from HTML_QuickForm_input.

Definition at line 75 of file submit.php.

Here is the call graph for this function:

freeze ( )

Freeze the element so that only its value is returned

public

Returns:
void

Reimplemented from HTML_QuickForm_element.

Reimplemented in MoodleQuickForm_submit, and MoodleQuickForm_cancel.

Definition at line 63 of file submit.php.

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

Class constructor

Parameters:
stringInput field name attribute
stringInput field value
mixedEither a typical HTML attribute string or an associative array
Since:
1.0 public
Returns:
void

Definition at line 47 of file submit.php.

Here is the call graph for this function:

Here is the caller graph for this function:


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