PHP函数大全 · U
千寻网 PHP 函数大全,收录以字母 u 开头的 PHP 函数,共 271 个,含用途说明、示例。 共 271 个函数
- UConverter::__construct() 创建一个新的 UConverter 对象,并返回该对象的实例
- UConverter::transcode() 将一个字符串从一个字符编码转换为另一个字符编码
- UConverter::setSourceEncoding() 设置源编码
- UConverter::setDestinationEncoding() 设置目标编码,即将转换后的文本转换为的编码格式
- UConverter::reasonText() 返回最后一个转换操作的错误信息
- UConverter::getSubstChars() 获取当前转换器的替换字符
- UConverter::getSourceEncoding() 获取转换器的源编码
- UConverter::getErrorMessage() 获取最近一次转换操作的错误消息
- UConverter::getErrorCode() 获取当前 UConverter 对象的错误代码
- UConverter::getDestinationType() 获取转换器对象的目标类型
- UConverter::getAvailable() 获取系统中可用的字符编码转换器列表
- UConverter::getAliases() 获取指定字符编码的所有别名
- UConverter::fromUCallback() 设置从 Unicode 转换到编码的回调函数
- UConverter::convert() 将字符串从一个Unicode编码转换为另一个Unicode编码
- uasort() 对数组进行排序,使用用户自定义的比较函数进行排序,并保持数组的键值关联
- UConverter::toUCallback() 将给定的回调函数应用于Unicode转换的每个输入代码点
- UConverter::setSubstChars() 设置替代字符序列,以替代在转换期间无法转换的字符
- UConverter::getStandards() 获取当前系统上可用的字符编码标准列表
- ucfirst() 将字符串的首字母转换为大写
- UConverter::getSourceType() 获取当前转换器的源数据类型
- UConverter::getDestinationEncoding() 获取当前 UConverter 对象的目标编码
- UI\Controls\Check::setText() 设置UI\Controls\Check控件的文本内容
- UI\Controls\Check::setChecked() 设置 UI 控件中的复选框的选中状态
- UI\Controls\Check::onToggle() 设置当用户在复选框控件上切换选中状态时触发的回调函数
- UI\Controls\Check::isChecked() 检查 UI 控件中的复选框是否被选中
- UI\Controls\Check::getText() 获取UI\Controls\Check控件的文本内容
- UI\Controls\Button::__construct() 创建一个UI按钮的实例
- UI\Controls\Button::setText() 设置 UI 控件中的按钮文本
- UI\Controls\Button::onClick() 为按钮控件绑定点击事件的处理程序
- UI\Controls\Button::getText() 获取按钮控件的文本内容
- UI\Controls\Box::__construct() 创建一个新的 Box 控件对象
- UI\Controls\Box::setPadded() 设置UI控件中的盒子的边距,可以根据实际需求来决定是否设置边距
- UI\Controls\Box::isPadded() 检查 UI\Controls\Box 对象是否启用了内边距(padding)
- UI\Controls\Box::getOrientation() 获取UI\Controls\Box控件的方向属性
- UI\Controls\Box::delete() 删除控制
- UI\Controls\Box::append() 将一个子控件添加到Box控件中
- UI\Control::show() 显示UI控件的内容
- UI\Control::setParent() 设置控件的父级容器
- UI\Control::isVisible() 检查UI控件是否可见
- UI\Control::isEnabled() 检查 UI 控件是否启用(可用)
- UI\Control::hide() 隐藏 UI 控件
- UI\Control::getTopLevel() 获取当前控件所属的顶级控件
- UI\Control::getParent() 获取当前控件的父控件
- UI\Control::enable() 启用UI控件,使其可以响应用户的交互事件和操作
- UI\Control::disable() 禁用控件
- UI\Control::destroy() 销毁指定的UI控件及其子控件,释放与之关联的内存
- UI\Area::setSize() 设置UI区域的尺寸
- UI\Area::scrollTo() 区域滚动
- UI\Area::redraw() 重新绘制 UI\Area 对象
- UI\Area::onMouse() 鼠标回调
- UI\Area::onKey() 为 UI\Area 组件绑定键盘事件的回调函数
- UI\Area::onDraw() 画回调
- ucwords() 将字符串中每个单词的首字母转换为大写
- UI\Controls\Group::setTitle() 设置UI\Controls\Group对象的标题
- UI\Controls\Group::setMargin() 设置UI\Controls\Group控件的边距
- UI\Controls\Group::hasMargin() 判断UI控件组(Group)是否具有边距(margin)
- UI\Controls\Group::getTitle() 获取UI控件组的标题
- UI\Controls\Group::append() 向UI组中追加一个控件
- UI\Controls\Grid::setPadded() 设置网格控件是否具有填充(padding)
- UI\Controls\Grid::isPadded() 检查网格控件是否启用了填充