public function close() {
        if ($this->users_rs) {
            $this->users_rs->close();
            $this->users_rs = null;
        }
        if ($this->grades_rs) {
            $this->grades_rs->close();
            $this->grades_rs = null;
        }
        $this->gradestack = array();
    }
public function close() {
        if ($this->users_rs) {
            $this->users_rs->close();
            $this->users_rs = null;
        }
        if ($this->grades_rs) {
            $this->grades_rs->close();
            $this->grades_rs = null;
        }
        $this->gradestack = array();
    }
public function close ( ) { if ( $ this -> users_rs ) { $ this -> users_rs -> close ( ) ; $ this -> users_rs = null ; } if ( $ this -> grades_rs ) { $ this -> grades_rs -> close ( ) ; $ this -> grades_rs = null ; } $ this -> gradestack = array ( ) ; }
Close the iterator, do not forget to call this function
Close the iterator do not forget to call this function