php-src/ext/spl/internal/norewinditerator.inc

28 lines
463 B
PHP
Raw Normal View History

2004-04-28 21:52:51 +00:00
<?php
/** @file norewinditerator.inc
* @ingroup SPL
* @brief class NoRewindIterator
* @author Marcus Boerger
2005-02-08 19:10:06 +00:00
* @date 2003 - 2005
*
* SPL - Standard PHP Library
*/
2004-10-31 19:51:34 +00:00
/** @ingroup SPL
* @brief An Iterator wrapper that doesn't call rewind
2004-04-28 21:52:51 +00:00
* @author Marcus Boerger
2004-10-31 15:36:08 +00:00
* @version 1.1
2004-04-28 21:52:51 +00:00
*
*/
2004-10-31 15:36:08 +00:00
class NoRewindIterator extends IteratorIterator
2004-04-28 21:52:51 +00:00
{
2004-10-31 15:36:08 +00:00
/** Simply prevent execution of inner iterators rewind().
*/
2004-04-28 21:52:51 +00:00
function rewind()
{
// nothing to do
}
}
?>