PHPKonf 2020 Online

Picker Control

(UI 0.9.9)

Introduction

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

Synopsis de la classe

UI\Controls\Picker extends UI\Control {
/* Constants */
const int Date ;
const int Time ;
const int DateTime ;
/* Constructor */
public __construct ([ int $type = UI\Controls\Picker::Date ] )
/* Méthodes héritées */
public UI\Control::enable ( )
public UI\Control::getTopLevel ( ) : int
public UI\Control::hide ( )
public UI\Control::isEnabled ( ) : bool
public UI\Control::isVisible ( ) : bool
public UI\Control::setParent ( UI\Control $parent )
public UI\Control::show ( )
}

Constantes pré-définies

UI\Controls\Picker::Date

A Date Picker

UI\Controls\Picker::Time

A Time Picker

UI\Controls\Picker::DateTime

A Date and Time Picker

Sommaire

add a note add a note

User Contributed Notes 1 note

up
-3
falcon560 at gmail dot com
3 years ago
No getter method for the date/time
To Top