略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: UI\Controls\Entry

2024-05-02

Entry Control

(UI 0.9.9)

简介

An Entry is a text entry control, suitable for entering plain text, passwords, or search terms.

类摘要

class UI\Controls\Entry extends UI\Control {
/* Constants */
const int Normal;
const int Password;
const int Search;
/* Constructor */
public __construct(int $type = UI\Controls\Entry::Normal)
/* 方法 */
public getText(): string
public isReadOnly(): bool
protected onChange()
public setReadOnly(bool $readOnly)
public setText(string $text)
/* 继承的方法 */
public UI\Control::isEnabled(): bool
public UI\Control::isVisible(): bool
}

预定义常量

UI\Controls\Entry::Normal

A normal single line entry

UI\Controls\Entry::Password

A password entry

UI\Controls\Entry::Search

A search entry

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.ui-controls-entry.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3