Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<UI\Controls\Check::setTextUI\Controls\Button::__construct>
^UILast updated: Mon, 26 Oct 2026

Button Control

(UI 0.9.9)

Introduction

Represents a labelled clickable button

Class synopsis

class UI\Controls\Button extends UI\Control {
/* Constructor */
public function __construct(string $text)
/* Methods */
public function getText(): string
protected function onClick()
public function setText(string $text)
/* Inherited methods */
public function UI\Control::destroy()
public function UI\Control::disable()
public function UI\Control::enable()
public function UI\Control::getTopLevel(): int
public function UI\Control::hide()
public function UI\Control::isEnabled(): bool
public function UI\Control::isVisible(): bool
public function UI\Control::setParent(UI\Control $parent)
public function UI\Control::show()
}

Table of Contents


<UI\Controls\Check::setTextUI\Controls\Button::__construct>
^UILast updated: Mon, 26 Oct 2026