public function fetch()
{
$this->execute();
$return = current($this->data);
next($this->data);
return $return;
}
/** * Fetches single row object. * * @return HyperRow|FALSE FALSE if there is no row */ public function fetch() { $activeRow = $this->selection->fetch(); if ($activeRow === FALSE) { return FALSE; } return $this->factory->createRow($activeRow, $this->selection->getName()); }