|
CachingIterator::getCacheRetrieve the contents of the cache Beschreibung
public array CachingIterator::getCache
( void
)
Retrieve the contents of the cache.
Parameter-ListeDiese Funktion hat keine Parameter. RückgabewerteAn array containing the cache items. Fehler/Exceptions
Throws a BadMethodCallException when the
Beispiele
Beispiel #1 CachingIterator::getCache example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe:
array(2) {
[0]=>
int(1)
[1]=>
int(2)
}
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
|