예제 #1
0
 public function __construct(\SNDatabase\Connection $cnx, \mysqli_result $result)
 {
     parent::__construct($cnx);
     $this->result = $result;
 }
예제 #2
0
 public function __construct(PDOConnection $cnx, PDOStatement $stmt)
 {
     $this->stmt = $stmt;
     parent::__construct($cnx);
 }
예제 #3
0
 /**
  * @param \SNDatabase\Connection $cnx
  * @param resource $resource
  */
 public function __construct(\SNDatabase\Connection $cnx, $resource)
 {
     parent::__construct($cnx);
     $this->resource = $resource;
 }