Exemple #1
0
 function __construct($queryID, $mode = false)
 {
     parent::__construct($queryID, $mode);
 }
Exemple #2
0
 function __construct($queryID, $mode = false)
 {
     if ($mode === false) {
         global $ADODB_FETCH_MODE;
         $mode = $ADODB_FETCH_MODE;
     }
     switch ($mode) {
         case ADODB_FETCH_NUM:
             $this->fetchMode = MYSQL_NUM;
             break;
         case ADODB_FETCH_ASSOC:
             $this->fetchMode = MYSQL_ASSOC;
             break;
         case ADODB_FETCH_DEFAULT:
         case ADODB_FETCH_BOTH:
         default:
             $this->fetchMode = MYSQL_BOTH;
             break;
     }
     $this->adodbFetchMode = $mode;
     parent::__construct($queryID);
 }