Base button control.
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.
build_widget() ¶Build widget HTML for this form control.
__construct($name) [protected] ¶Create a new base button.
This constructor must be called from subclass constructors, e.g. AnewtFormControlButtonSubmit and AnewtFormControlButtonReset
$nameThe name of this control.
AnewtContainer::_to_array()AnewtContainer::_add()AnewtContainer::delete()AnewtContainer::get()AnewtContainer::_isset()AnewtContainer::_seed()AnewtContainer::setdefault()AnewtContainer::getdefault()AnewtContainer::set()AnewtContainer::__isset()AnewtContainer::__set()AnewtContainer::is_set()AnewtContainer::add()AnewtContainer::_getdefault()AnewtContainer::__unset()AnewtContainer::seed()AnewtContainer::to_array()AnewtContainer::_get()AnewtContainer::__get()AnewtContainer::keys()AnewtContainer::clear()AnewtContainer::_keys()AnewtContainer::_set()AnewtFormControl::$_validator_errorsAnewtFormControl::get_id()AnewtFormControl::add_validator()AnewtFormControl::is_empty()AnewtFormControl::$_validatorsAnewtFormControl::is_valid()AnewtFormControl::$_formAnewtFormControl::fill()