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