示例#1
0
 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>";
         }
     }
 }
示例#2
0
 /**
  * @access private
  */
 function Rewind()
 {
     parent::Rewind();
     $this->Rewinding = true;
 }
示例#3
0
 /**
  * @access private
  */
 function Rewind()
 {
     if ($this->GetRowCount() > 0) {
         mysql_data_seek($this->Result, 0);
     } else {
         $this->Debug("Rewind failed (bad result)");
     }
     parent::Rewind();
 }