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\ColorButton::setColorUI\Controls\Label::__construct>
^UILast updated: Mon, 26 Oct 2026

Label Control

(UI 0.9.9)

Introduction

A Label is a single line of text, meant to identify, for the user, some element of the interface.

Class synopsis

class UI\Controls\Label extends UI\Control {
/* Constructor */
public function __construct(string $text)
/* Methods */
public function getText(): string
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\ColorButton::setColorUI\Controls\Label::__construct>
^UILast updated: Mon, 26 Oct 2026