RecursiveArrayIterator::hasChildren
RecursiveCachingIterator::__construct
イテレータ
PHP Manual

# RecursiveCachingIterator クラス

(PHP 5 >= 5.1.0)

## 導入

...

## クラス概要

RecursiveCachingIterator extends CachingIterator implements Countable , ArrayAccess , OuterIterator , RecursiveIterator {
/* メソッド */
public __construct ( Iterator `$iterator` [, string `$flags` = self::CALL_TOSTRING ] )
public RecursiveCachingIterator getChildren ( void )
public bool hasChildren ( void )
/* 継承 */
public CachingIterator::__construct ( Iterator `$iterator` [, string `$flags` = self::CALL_TOSTRING ] )
public int CachingIterator::count ( void )
public void CachingIterator::current ( void )
public void CachingIterator::getCache ( void )
public void CachingIterator::getFlags ( void )
public Iterator CachingIterator::getInnerIterator ( void )
public void CachingIterator::hasNext ( void )
public scalar CachingIterator::key ( void )
public void CachingIterator::next ( void )
public void CachingIterator::offsetExists ( string `$index` )
public void CachingIterator::offsetGet ( string `$index` )
public void CachingIterator::offsetSet ( string `$index` , string `$newval` )
public void CachingIterator::offsetUnset ( string `$index` )
public void CachingIterator::rewind ( void )
public void CachingIterator::setFlags ( bitmask `$flags` )
public void CachingIterator::__toString ( void )
public void CachingIterator::valid ( void )
}

## 目次

- RecursiveCachingIterator::__construct — コンストラクタ
- RecursiveCachingIterator::getChildren — 内部イテレータの子を RecursiveCachingIterator として返す
- RecursiveCachingIterator::hasChildren — 内部イテレータの現在の要素が子を持つかどうかチェックする

RecursiveArrayIterator::hasChildren
RecursiveCachingIterator::__construct
イテレータ
PHP Manual