phpday 2027 - Call for Papers

Tab Control

(UI 0.9.9)

Introduction

A Tab can contain many pages of Controls, each with a title, each selectable by the user.

Class synopsis

class UI\Controls\Tab extends UI\Control {
/* Properties */
protected $controls;
/* Methods */
public function append(string $name, UI\Control $control): int
public function delete(int $index): bool
public function hasMargin(int $page): bool
public function insertAt(string $name, int $page, UI\Control $control)
public function pages(): int
public function setMargin(int $page, bool $margin)
/* 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()
}

Properties

controls

Contains controls, should not be manipulated directly

Table of Contents

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top