offsetExists() public method

Tests if row exists.
public offsetExists ( $key ) : boolean
return boolean
Example #1
0
 /**
  * Tests if row exists.
  *
  * @param mixed $key Row's primary key to check for.
  * @return bool
  */
 public function offsetExists($key)
 {
     return $this->selection->offsetExists($key);
 }