@@ 64-73 (lines=10) @@ | ||
61 | } |
|
62 | } |
|
63 | ||
64 | public function nextRecord() |
|
65 | { |
|
66 | if (is_resource($this->handle)) { |
|
67 | $row = sqlsrv_fetch_array($this->handle, SQLSRV_FETCH_ASSOC); |
|
68 | ||
69 | return $row; |
|
70 | } else { |
|
71 | return false; |
|
72 | } |
|
73 | } |
|
74 | ||
75 | public function seek($row) |
|
76 | { |
|
@@ 75-84 (lines=10) @@ | ||
72 | } |
|
73 | } |
|
74 | ||
75 | public function seek($row) |
|
76 | { |
|
77 | if (is_resource($this->handle)) { |
|
78 | $result = sqlsrv_fetch_array($this->handle, SQLSRV_FETCH_ASSOC, SQLSRV_SCROLL_ABSOLUTE, $row); |
|
79 | ||
80 | return $result; |
|
81 | } |
|
82 | ||
83 | return null; |
|
84 | } |
|
85 | } |
|
86 |