AnewtFormControlButton class

Base button control.

Class Overview

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

Public Methods

build_widget()

Build widget HTML for this form control.

Protected Methods

__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.

Inheritance

Base Classes

Inherited members