AnewtFormControlButton Class Reference

Base button control. More...

List of all members.

Public Member Functions

 build_widget ()
 Build widget HTML for this form control.

Protected Member Functions

 __construct ($name)
 Create a new base button.


Detailed Description

Base button control.

This class provides basic button functionality.

Notet that using this class directly is almost always not what you want. Submit and reset buttons are provided by descendants of this class, AnewtFormControlButtonSubmit and AnewtFormControlButtonReset. This class is only for buttons that don't do anything unless behaviour is attached to them using JavaScript.

See also:
AnewtFormControlButtonSubmit

AnewtFormControlButtonReset

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


Constructor & Destructor Documentation

AnewtFormControlButton::__construct ( name  )  [protected]

Create a new base button.

This constructor must be called from subclass constructors, e.g. AnewtFormControlButtonSubmit and AnewtFormControlButtonReset

Parameters:
$name The name of this control.

Reimplemented from AnewtFormControl.

Reimplemented in AnewtFormControlButtonSubmit, and AnewtFormControlButtonReset.

Definition at line 38 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