Location: PHPKode > scripts > Simple Object > simpleiterator.php
<?php
	class SimpleIterator extends SimpleObject {
		
		function SimpleIterator($strict=FALSE) {
			parent::SimpleObject($strict);
		}
		
		function next() {
			$err = 'Use of abstract SimpleIterator::next()';
			trigger_error($err,E_USER_ERROR);
		}
		
		function reset() {
			$err = 'Use of abstract SimpleIterator::reset()';
			trigger_error($err,E_USER_ERROR);
		}
		
		function size() {
			$err = 'Use of abstract SimpleIterator::size()';
			trigger_error($err,E_USER_ERROR);
		}
	}
?>
Return current item: Simple Object