AnewtFormControlButtonSubmit Class Reference

Submit control form button. More...

List of all members.

Public Member Functions

 __construct ($name)
 Create a new submit button.
 fill ($values)
 Fill the form control from the given values.


Detailed Description

Submit control form button.

Definition at line 106 of file button.lib.php.


Constructor & Destructor Documentation

AnewtFormControlButtonSubmit::__construct ( name  ) 

Create a new submit button.

Parameters:
$name The name of this control.

Reimplemented from AnewtFormControlButton.

Definition at line 114 of file button.lib.php.


Member Function Documentation

AnewtFormControlButtonSubmit::fill ( values  ) 

Fill the form control from the given values.

This only sets the value for controls for which the can-be-filled property is enabled.

The return value of this function indicates whether the control was successfully filled with a value. For some control types such as checkboxes this always succeeds since both presence and absence of the value from $values are meaningful. For other controls such as text inputs this is only true if the value was actually present in the $values parameters.

Parameters:
$values An associative array from which the form control should be filled.
Returns:
true if filling was succesfull, false otherwise.
See also:
AnewtForm::fill()

Reimplemented from AnewtFormControl.

Definition at line 128 of file button.lib.php.


The documentation for this class was generated from the following file:

Generated on Sun Aug 2 22:54:37 2009 for Anewt by  doxygen 1.5.9