1<?php 2 3/** @file norewinditerator.inc 4 * @ingroup SPL 5 * @brief class NoRewindIterator 6 * @author Marcus Boerger 7 * @date 2003 - 2009 8 * 9 * SPL - Standard PHP Library 10 */ 11 12/** @ingroup SPL 13 * @brief An Iterator wrapper that doesn't call rewind 14 * @author Marcus Boerger 15 * @version 1.1 16 * @since PHP 5.1 17 */ 18class NoRewindIterator extends IteratorIterator 19{ 20 /** Simply prevent execution of inner iterators rewind(). 21 */ 22 function rewind() 23 { 24 // nothing to do 25 } 26} 27 28?> 29