Iteradores
PHP Manual

La clase CachingIterator

Introducción

Este objecto soporta cache de iteración sobre otros iteradores.

Clases sinopsis

CachingIterator extends IteratorIterator implements OuterIterator , Traversable , Iterator , ArrayAccess , Countable {
/* Constantes */
const integer CachingIterator::CALL_TOSTRING = 1 ;
const integer CachingIterator::CATCH_GET_CHILD = 16 ;
const integer CachingIterator::FULL_CACHE = 256 ;
/* Métodos */
__construct ( Iterator $iterator [, string $flags ] )
public void count ( void )
public void current ( void )
public void getCache ( void )
public void getFlags ( void )
public void getInnerIterator ( void )
public void hasNext ( void )
public void key ( void )
public void next ( void )
public void offsetExists ( string $index )
public void offsetGet ( string $index )
public void offsetSet ( string $index , string $newval )
public void offsetUnset ( string $index )
public void rewind ( void )
public void setFlags ( bitmask $flags )
public void __toString ( void )
public void valid ( void )
}

Constantes predefinidas

Tipos de nodos de CachingIterator

CachingIterator::CALL_TOSTRING

Descripción aquí...

CachingIterator::CATCH_GET_CHILD

Descripción aquí...

CachingIterator::TOSTRING_USE_KEY

Descripción aquí...

CachingIterator::TOSTRING_USE_CURRENT

Descripción aquí...

CachingIterator::TOSTRING_USE_INNER

Descripción aquí...

CachingIterator::FULL_CACHE

Cachea todos los datos leídos.

Table of Contents


Iteradores
PHP Manual