From bd9024643277022878c44c5453ef600e704ab731 Mon Sep 17 00:00:00 2001 From: zYne Date: Sat, 30 Sep 2006 10:04:17 +0000 Subject: [PATCH] --- lib/Doctrine/Iterator/Expandable.php | 25 ---------------------- lib/Doctrine/Iterator/Normal.php | 31 ---------------------------- lib/Doctrine/Iterator/Offset.php | 8 ------- 3 files changed, 64 deletions(-) delete mode 100644 lib/Doctrine/Iterator/Expandable.php delete mode 100644 lib/Doctrine/Iterator/Normal.php delete mode 100644 lib/Doctrine/Iterator/Offset.php diff --git a/lib/Doctrine/Iterator/Expandable.php b/lib/Doctrine/Iterator/Expandable.php deleted file mode 100644 index aa788a6d5..000000000 --- a/lib/Doctrine/Iterator/Expandable.php +++ /dev/null @@ -1,25 +0,0 @@ -index < $this->count) - return true; - elseif($this->index == $this->count) { - - $coll = $this->collection->expand($this->index); - - if($coll instanceof Doctrine_Collection) { - $count = count($coll); - if($count > 0) { - $this->keys = array_merge($this->keys, $coll->getKeys()); - $this->count += $count; - return true; - } - } - - return false; - } - } -} - diff --git a/lib/Doctrine/Iterator/Normal.php b/lib/Doctrine/Iterator/Normal.php deleted file mode 100644 index baa86d776..000000000 --- a/lib/Doctrine/Iterator/Normal.php +++ /dev/null @@ -1,31 +0,0 @@ -. - */ -Doctrine::autoload('Doctrine_Iterator'); - -class Doctrine_Iterator_Normal extends Doctrine_Iterator { - /** - * @return boolean whether or not the iteration will continue - */ - public function valid() { - return ($this->index < $this->count); - } -} - diff --git a/lib/Doctrine/Iterator/Offset.php b/lib/Doctrine/Iterator/Offset.php deleted file mode 100644 index 9602cd9cb..000000000 --- a/lib/Doctrine/Iterator/Offset.php +++ /dev/null @@ -1,8 +0,0 @@ -