|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Inheritance diagram for MDB2_Result_mysql:
Collaboration diagram for MDB2_Result_mysql:Public Member Functions | |
| & | fetchRow ($fetchmode=MDB2_FETCHMODE_DEFAULT, $rownum=null) |
| Fetch a row and insert the data into an existing array. More... | |
| _getColumnNames () | |
| Retrieve the names of columns returned by the DBMS in a query result. More... | |
| numCols () | |
| Count the number of columns returned by the DBMS in a query result. More... | |
| free () | |
| Free the internal resources associated with result. More... | |
Public Member Functions inherited from MDB2_Result_Common | |
| __construct ($db, $result, $limit=0, $offset=0) | |
| Constructor. More... | |
| fetch ($fetch_mode=ilDBConstants::FETCHMODE_ASSOC) | |
| fetchObject () | |
| fetchAssoc () | |
| MDB2_Result_Common ($db, $result, $limit=0, $offset=0) | |
| PHP 4 Constructor. More... | |
| setResultTypes ($types) | |
| Define the list of types to be associated with the columns of a given result set. More... | |
| seek ($rownum=0) | |
| Seek to a specific row in a result set. More... | |
| & | fetchRow ($fetchmode=MDB2_FETCHMODE_DEFAULT, $rownum=null) |
| Fetch and return a row of data. More... | |
| fetchOne ($colnum=0, $rownum=null) | |
| fetch single column from the next row from a result set More... | |
| fetchCol ($colnum=0) | |
| Fetch and return a column from the current row pointer position. More... | |
| fetchAll ($fetchmode=MDB2_FETCHMODE_DEFAULT, $rekey=false, $force_array=false, $group=false) | |
| Fetch and return all rows from the current row pointer position. More... | |
| rowCount () | |
| Returns the actual row number that was last fetched (count from 0) More... | |
| numRows () | |
| Returns the number of rows in a result object. More... | |
| nextResult () | |
| Move the internal result pointer to the next available result. More... | |
| getColumnNames ($flip=false) | |
| Retrieve the names of columns returned by the DBMS in a query result or from the cache. More... | |
| _getColumnNames () | |
| Retrieve the names of columns returned by the DBMS in a query result. More... | |
| numCols () | |
| Count the number of columns returned by the DBMS in a query result. More... | |
| getResource () | |
| return the resource associated with the result object More... | |
| bindColumn ($column, &$value, $type=null) | |
| Set bind variable to a column. More... | |
| _assignBindColumns ($row) | |
| Bind a variable to a value in the result row. More... | |
| free () | |
| Free the internal resources associated with result. More... | |
| execute ($a_data=null) | |
Public Member Functions inherited from ilDBStatement | |
| fetchRow ($fetch_mode) | |
| fetch ($fetch_mode=ilDBConstants::FETCHMODE_ASSOC) | |
| rowCount () | |
| numRows () | |
| fetchObject () | |
| fetchAssoc () | |
| execute ($a_data=null) | |
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_mysql::_getColumnNames | ( | ) |
Retrieve the names of columns returned by the DBMS in a query result.
Reimplemented from MDB2_Result_Common.
Definition at line 1211 of file mysql.php.
References $column, $columns, PEAR\isError(), MDB2_PORTABILITY_FIX_CASE, and numCols().
Here is the call graph for this function:| & MDB2_Result_mysql::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.
Definition at line 1146 of file mysql.php.
References $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_EMPTY_TO_NULL, MDB2_PORTABILITY_FIX_CASE, and MDB2_Result_Common\seek().
Here is the call graph for this function:| MDB2_Result_mysql::free | ( | ) |
Free the internal resources associated with result.
Reimplemented from MDB2_Result_Common.
Definition at line 1263 of file mysql.php.
References MDB2_OK.
| MDB2_Result_mysql::numCols | ( | ) |
Count the number of columns returned by the DBMS in a query result.
Reimplemented from MDB2_Result_Common.
Definition at line 1238 of file mysql.php.
References MDB2_ERROR_NEED_MORE_DATA.
Referenced by _getColumnNames().
Here is the caller graph for this function: