SwatDB/SwatDBRecordsetWrapper.php
public function offsetExists($offset)
    {
        if ($this->index_field === null) {
            return isset($this->objects[$offset]);
        }

        return isset($this->objects_by_index[$offset]);
    }
public function offsetExists($offset)
    {
        if ($this->index_field === null) {
            return isset($this->objects[$offset]);
        }

        return isset($this->objects_by_index[$offset]);
    }
public function offsetExists ( $ offset ) { if ( $ this -> index_field === null ) { return isset ( $ this -> objects [ $ offset ] ) ; } return isset ( $ this -> objects_by_index [ $ offset ] ) ; }
Gets whether or not a value exists for the given offset

@param mixed $offset the offset to check. If this recordset has a
defined index field, the offset is an index
value. Otherwise, the offset is an ordinal value.

@return boolean true if this recordset has a value for the given offset
and false if it does not.
Gets whether or not a value exists for the given offset