MediaWiki REL1_31
|
The oci8 extension is fairly weak and doesn't support oci_num_rows, among other things. More...
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 = [] | |
$cursor | |
$nrows | |
$rows | |
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 11 of file ORAResult.php.
ORAResult::__construct | ( | & | $db, |
$stmt, | |||
$unique = false ) |
IDatabase | &$db | |
resource | $stmt | A valid OCI statement identifier |
bool | $unique |
Definition at line 38 of file ORAResult.php.
References $e, array_unique_md(), and free().
|
private |
ORAResult::fetchObject | ( | ) |
Definition at line 81 of file ORAResult.php.
References $ret.
ORAResult::fetchRow | ( | ) |
Definition at line 95 of file ORAResult.php.
References $ret.
ORAResult::free | ( | ) |
Definition at line 65 of file ORAResult.php.
Referenced by __construct().
ORAResult::numFields | ( | ) |
Definition at line 77 of file ORAResult.php.
ORAResult::numRows | ( | ) |
Definition at line 73 of file ORAResult.php.
References $nrows.
ORAResult::seek | ( | $row | ) |
Definition at line 69 of file ORAResult.php.
|
private |
Definition at line 16 of file ORAResult.php.
|
private |
Definition at line 13 of file ORAResult.php.
|
private |
Definition at line 14 of file ORAResult.php.
Referenced by numRows().
|
private |
Definition at line 12 of file ORAResult.php.