function Rewind() { parent::Rewind(); if ($this->Result && mysql_num_rows($this->Result) > 0) { if ($this->App->Debug) { echo "Rewinding ... rows: " . mysql_num_rows($this->Result) . "<br>"; } mysql_data_seek($this->Result, 0); } else { if ($this->App->Debug) { echo "Rewind failed (bad result)<br>"; } } }
/** * @access private */ function Rewind() { parent::Rewind(); $this->Rewinding = true; }
/** * @access private */ function Rewind() { if ($this->GetRowCount() > 0) { mysql_data_seek($this->Result, 0); } else { $this->Debug("Rewind failed (bad result)"); } parent::Rewind(); }