48 $this->result = $result->result;
55 return $this->
getDB()->numRows( $this );
59 return $this->
getDB()->fetchObject( $this );
63 return $this->
getDB()->fetchRow( $this );
66 public function seek( $row ) {
67 $this->
getDB()->dataSeek( $this, $row );
72 $this->db->freeResult( $this );
84 throw new RuntimeException( static::class .
' needs a DB handle for iteration.' );
92 $this->
getDB()->dataSeek( $this, 0 );
95 $this->currentRow =
null;
99 if ( is_null( $this->currentRow ) ) {
118 return $this->
current() !==
false;
122class_alias( ResultWrapper::class,
'ResultWrapper' );