--- cyclic_arr.class.php 2001/11/03 10:36:20 1.1 +++ cyclic_arr.class.php 2001/11/07 15:24:13 1.2 @@ -29,6 +29,12 @@ $this->next(); return $out; } + + function fetch_rev() { + $out = $this->arr[$this->pos]; + $this->prev(); + return $out; + } // move to next function next() {