lithium\data\Collection::offsetExists()
Overrides
lithium\util\Collection::offsetExists()
Returns a boolean indicating whether an offset exists for the
current Collection.
Parameters
-
string
$offsetString or integer indicating the offset or index of an entity in the set.
Returns
booleanResult.
Source
public function offsetExists($offset) {
$this->offsetGet($offset);
return array_key_exists($offset, $this->_data);
}