# Picker Control

(PHP 7, UI 0.9.9)

## Introduction

A Picker represents a button which when clicked presents a native Date/Time/DateTime Picker interface to the user.

## Class synopsis

UI\Controls\Picker extends UI\Control {
/* Constants */
const integer Date ;
const integer Time ;
const integer DateTime ;
/* Constructor */
public __construct ([ int `$type` = UI\Controls\Picker::Date ] )
/* Inherited methods */
public UI\Control::destroy ( void )
public UI\Control::disable ( void )
public UI\Control::enable ( void )
public UI\Control::getParent ( void ) : UI\Control
public UI\Control::getTopLevel ( void ) : int
public UI\Control::hide ( void )
public UI\Control::isEnabled ( void ) : bool
public UI\Control::isVisible ( void ) : bool
public UI\Control::setParent ( UI\Control `$parent` )
public UI\Control::show ( void )
}

## Predefined Constants

`UI\Controls\Picker::Date`

  A Date Picker

`UI\Controls\Picker::Time`

  A Time Picker

`UI\Controls\Picker::DateTime`

  A Date and Time Picker

## Table of Contents

- UI\Controls\Picker::__construct — Construct a new Picker