. */ class sgbd_pdo_oracle extends abstract_sgbd_pdo{ public static function getInstance($sConfig){ return self::_getInstance(__CLASS__,$sConfig); } public function getListColumn($sTable){ $pRs=$this->query(sgbd_syntax_oracle::getListColumn($sTable)); $tObj=array(); if(empty($pRs)){ return null; } while($tRow=$pRs->fetch(PDO::FETCH_NUM)){ $tObj[]=$tRow[0]; } return $tObj; } public function getListTable(){ $pRs=$this->query(sgbd_syntax_oracle::getListTable()); if(empty($pRs)){ return null; } $tObj=array(); while($tRow=$pRs->fetch(PDO::FETCH_NUM)){ $tObj[]=$tRow[0]; } return $tObj; } protected function connect(){ if(empty($this->_pDb)){ $this->_pDb=new PDO( $this->_tConfig[$this->_sConfig.'.dsn'], $this->_tConfig[$this->_sConfig.'.username'], $this->_tConfig[$this->_sConfig.'.password'] ); } } public function getLastInsertId(){ return null; } public function getWhereAll(){ return '1=1'; } }