PHP 8.1.0 Beta 1 available for testing

Button Control

(UI 0.9.9)


Represents a labelled clickable button

Class synopsis

UI\Controls\Button extends UI\Control {
/* Constructor */
public __construct(string $text)
/* Methods */
public getText(): string
protected onClick()
public setText(string $text)
/* Inherited methods */
public UI\Control::isEnabled(): bool
public UI\Control::isVisible(): bool

Table of Contents

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top