lithium\data\Collection::offsetExists()

public method

Returns a boolean indicating whether an offset exists for the current Collection.

Parameters

  • string $offset

    String or integer indicating the offset or index of an entity in the set.

Returns

boolean

Result.

Source

	public function offsetExists($offset) {
		$this->offsetGet($offset);
		return array_key_exists($offset, $this->_data);
	}