コード例 #1
0
 function fetchObject($result, $class = null, $params = array())
 {
     // Simulates limit
     if ($this->nextLimit-- == 0) {
         return;
     }
     // Uses the link
     return ingres_fetch_object(INGRES_ASSOC, $this->link);
 }
コード例 #2
0
ファイル: DBConnection.php プロジェクト: JordanChin/Ingres
 function getResultObjects()
 {
     $resultArray = array();
     while ($obj = ingres_fetch_object($this->Result)) {
         $resultArray[] = $obj;
     }
     return $resultArray;
 }