コード例 #1
0
ファイル: dataset.php プロジェクト: martinw0102/ProjetSyst
 public function Open()
 {
     $this->Connect();
     if (DebugUtils::GetDebugLevel() == 1) {
         echo $this->selectCommand->GetSQL() . '<br>';
     }
     $this->DoBeforeOpen();
     $this->dataReader = $this->selectCommand->Execute($this->GetConnection());
     $this->rowIndex = 0;
     $this->insertedMode = false;
 }
コード例 #2
0
 private function getDataReader()
 {
     $this->Connect();
     if (!$this->dataReader) {
         $this->dataReader = $this->selectCommand->Execute($this->GetConnection());
     }
     return $this->dataReader;
 }