Exemple #1
0
 public function __construct(PDOConnection $cnx, PDOStatement $stmt)
 {
     $this->stmt = $stmt;
     parent::__construct($cnx);
 }
Exemple #2
0
 public function rewind()
 {
     $this->result->setCursorMode(DB::CURSOR_FIRST);
     $this->next();
 }
Exemple #3
0
 public function __construct(\SNDatabase\Connection $cnx, \mysqli_result $result)
 {
     parent::__construct($cnx);
     $this->result = $result;
 }
Exemple #4
0
 /**
  * @param \SNDatabase\Connection $cnx
  * @param resource $resource
  */
 public function __construct(\SNDatabase\Connection $cnx, $resource)
 {
     parent::__construct($cnx);
     $this->resource = $resource;
 }