22 foreach ( $array_in as $item ) {
24 if ( !
isset( $array_hashes[$hash] ) ) {
25 $array_hashes[$hash] = $hash;
41 $this->nrows =
oci_fetch_all( $stmt, $this->rows, 0, -1, OCI_FETCHSTATEMENT_BY_ROW | OCI_NUM );
42 if ( $this->nrows ===
false ) {
44 $db->reportQueryError(
$e[
'message'],
$e[
'code'],
'', __METHOD__ );
52 $this->nrows = count( $this->rows );
55 if ( $this->nrows > 0 ) {
56 foreach ( $this->rows[0] as $k => $v ) {
69 public function seek( $row ) {
70 $this->cursor = min( $row, $this->nrows );
78 return count( $this->columns );
82 if ( $this->cursor >= $this->nrows ) {
85 $row = $this->rows[$this->cursor++];
86 $ret =
new stdClass();
87 foreach ( $row as $k => $v ) {
88 $lc = $this->columns[
$k];
96 if ( $this->cursor >= $this->nrows ) {
100 $row = $this->rows[$this->cursor++];
102 foreach ( $row as $k => $v ) {
103 $lc = $this->columns[
$k];
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
The oci8 extension is fairly weak and doesn't support oci_num_rows, among other things.
__construct(&$db, $stmt, $unique=false)
array_unique_md( $array_in)
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses & $ret
returning false will NOT prevent logging $e