ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
& | fetchRow ($fetchmode=MDB2_FETCHMODE_DEFAULT, $rownum=null) |
Fetch a row and insert the data into an existing array. | |
_getColumnNames () | |
Retrieve the names of columns returned by the DBMS in a query result. | |
numCols () | |
Count the number of columns returned by the DBMS in a query result. | |
free () | |
Free the internal resources associated with $result. | |
Public Member Functions inherited from MDB2_Result_Common | |
__construct (&$db, &$result, $limit=0, $offset=0) | |
Constructor. | |
MDB2_Result_Common (&$db, &$result, $limit=0, $offset=0) | |
PHP 4 Constructor. | |
setResultTypes ($types) | |
Define the list of types to be associated with the columns of a given result set. | |
seek ($rownum=0) | |
Seek to a specific row in a result set. | |
fetchOne ($colnum=0, $rownum=null) | |
fetch single column from the next row from a result set | |
fetchCol ($colnum=0) | |
Fetch and return a column from the current row pointer position. | |
fetchAll ($fetchmode=MDB2_FETCHMODE_DEFAULT, $rekey=false, $force_array=false, $group=false) | |
Fetch and return all rows from the current row pointer position. | |
rowCount () | |
Returns the actual row number that was last fetched (count from 0) | |
numRows () | |
Returns the number of rows in a result object. | |
nextResult () | |
Move the internal result pointer to the next available result. | |
getColumnNames ($flip=false) | |
Retrieve the names of columns returned by the DBMS in a query result or from the cache. | |
getResource () | |
return the resource associated with the result object | |
bindColumn ($column, &$value, $type=null) | |
Set bind variable to a column. | |
_assignBindColumns ($row) | |
Bind a variable to a value in the result row. |
Additional Inherited Members | |
Data Fields inherited from MDB2_Result_Common | |
$db | |
$result | |
$rownum = -1 | |
$types = array() | |
$values = array() | |
$offset | |
$offset_count = 0 | |
$limit | |
$column_names |
MDB2_Result_oci8::_getColumnNames | ( | ) |
Retrieve the names of columns returned by the DBMS in a query result.
Reimplemented from MDB2_Result_Common.
Definition at line 1057 of file oci8.php.
References $columns, PEAR\isError(), MDB2_PORTABILITY_FIX_CASE, and numCols().
& MDB2_Result_oci8::fetchRow | ( | $fetchmode = MDB2_FETCHMODE_DEFAULT , |
|
$rownum = null |
|||
) |
Fetch a row and insert the data into an existing array.
int | $fetchmode | how the array data should be indexed |
int | $rownum | number of the row where the data can be found |
Reimplemented from MDB2_Result_Common.
Reimplemented in MDB2_BufferedResult_oci8.
Definition at line 981 of file oci8.php.
References $err, $null, $row, MDB2_Result_Common\$rownum, MDB2_Result_Common\_assignBindColumns(), PEAR\isError(), MDB2_ERROR_NEED_MORE_DATA, MDB2_FETCHMODE_ASSOC, MDB2_FETCHMODE_DEFAULT, MDB2_FETCHMODE_OBJECT, MDB2_PORTABILITY_FIX_CASE, MDB2_PORTABILITY_RTRIM, and MDB2_Result_Common\seek().
MDB2_Result_oci8::free | ( | ) |
Free the internal resources associated with $result.
Reimplemented from MDB2_Result_Common.
Reimplemented in MDB2_BufferedResult_oci8.
Definition at line 1112 of file oci8.php.
References MDB2_OK.
MDB2_Result_oci8::numCols | ( | ) |
Count the number of columns returned by the DBMS in a query result.
Reimplemented from MDB2_Result_Common.
Definition at line 1084 of file oci8.php.
References elseif(), and MDB2_ERROR_NEED_MORE_DATA.
Referenced by _getColumnNames().