哈希空间 Ctrl + F 进行搜索
首页 php手册中文版 CSS中文手册 哈希文档 Markdown在线工具

PHP parentiterator 组件

The ParentIterator class

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

简介

This extended FilterIterator allows a recursive iteration using RecursiveIteratorIterator that only shows those elements which have children.

类摘要

class ParentIterator extends RecursiveFilterIterator {
/* 方法 */
public __construct(RecursiveIterator $iterator)
public accept(): bool
public hasChildren(): bool
public next(): void
public rewind(): void
/* 继承的方法 */
public FilterIterator::accept(): bool
public FilterIterator::next(): void
public FilterIterator::rewind(): void
public FilterIterator::valid(): bool
public IteratorIterator::next(): void
public IteratorIterator::rewind(): void
public IteratorIterator::valid(): bool
}

目录

打开 哈希空间 微信小程序中查看更佳