MediaWiki  REL1_19
ORAResult Class Reference

The oci8 extension is fairly weak and doesn't support oci_num_rows, among other things. More...

List of all members.

Public Member Functions

 __construct (&$db, $stmt, $unique=false)
 fetchObject ()
 fetchRow ()
 free ()
 numFields ()
 numRows ()
 seek ($row)

Private Member Functions

 array_unique_md ($array_in)

Private Attributes

 $columns = array()
 $cursor
 $nrows
 $rows

Detailed Description

The oci8 extension is fairly weak and doesn't support oci_num_rows, among other things.

We use a wrapper class to handle that and other Oracle-specific bits, like converting column names back to lowercase.

Definition at line 15 of file DatabaseOracle.php.


Constructor & Destructor Documentation

ORAResult::__construct ( &$  db,
stmt,
unique = false 
)
Parameters:
$dbDatabaseBase
$stmt
bool$unique

Definition at line 42 of file DatabaseOracle.php.

References array_unique_md(), and free().

Here is the call graph for this function:


Member Function Documentation

ORAResult::array_unique_md ( array_in) [private]

Definition at line 22 of file DatabaseOracle.php.

Referenced by __construct().

Here is the caller graph for this function:

Definition at line 83 of file DatabaseOracle.php.

Definition at line 97 of file DatabaseOracle.php.

Definition at line 67 of file DatabaseOracle.php.

Referenced by __construct().

Here is the caller graph for this function:

Definition at line 79 of file DatabaseOracle.php.

Definition at line 75 of file DatabaseOracle.php.

ORAResult::seek ( row)

Definition at line 71 of file DatabaseOracle.php.


Member Data Documentation

ORAResult::$columns = array() [private]

Definition at line 20 of file DatabaseOracle.php.

ORAResult::$cursor [private]

Definition at line 17 of file DatabaseOracle.php.

ORAResult::$nrows [private]

Definition at line 18 of file DatabaseOracle.php.

ORAResult::$rows [private]

Definition at line 16 of file DatabaseOracle.php.


The documentation for this class was generated from the following file: