Normal.class.php 348 Bytes
Newer Older
doctrine's avatar
doctrine committed
1 2 3 4 5 6 7 8 9 10 11 12
<?php
require_once(Doctrine::getPath().DIRECTORY_SEPARATOR."Iterator.class.php");

class Doctrine_Iterator_Normal extends Doctrine_Iterator {
    /**
     * @return boolean                          whether or not the iteration will continue
     */
    public function valid() {
        return ($this->index < $this->count);
    }
}
?>