|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilPDOStatement is a Wrapper Class for PDOStatement. More...
Inheritance diagram for ilPDOStatement:
Collaboration diagram for ilPDOStatement:Public Member Functions | ||||
| __construct (PDOStatement $pdo_statement) | ||||
| fetchRow ($fetch_mode=ilDBConstants::FETCHMODE_ASSOC) | ||||
| fetch ($fetch_mode=ilDBConstants::FETCHMODE_ASSOC) | ||||
| closeCursor () | ||||
| Pdo allows for a manual closing of the cursor. More... | ||||
| rowCount () | ||||
| fetchObject () | ||||
| fetchAssoc () | ||||
| numRows () | ||||
| execute ($a_data=null) | ||||
| ||||
| errorCode () | ||||
| errorInfo () | ||||
| fetchRow ($fetch_mode) | ||||
| fetch ($fetch_mode=ilDBConstants::FETCHMODE_ASSOC) | ||||
| rowCount () | ||||
| numRows () | ||||
| fetchObject () | ||||
| fetchAssoc () | ||||
| execute ($a_data=null) | ||||
Protected Attributes | |
| $pdo_statement | |
Class ilPDOStatement is a Wrapper Class for PDOStatement.
Definition at line 11 of file class.ilPDOStatement.php.
| ilPDOStatement::__construct | ( | PDOStatement | $pdo_statement | ) |
| $pdo_statement | PDOStatement The PDO Statement to be wrapped. |
Definition at line 22 of file class.ilPDOStatement.php.
References $pdo_statement.
| ilPDOStatement::closeCursor | ( | ) |
Pdo allows for a manual closing of the cursor.
Definition at line 55 of file class.ilPDOStatement.php.
Referenced by ilMySQLQueryUtils\free(), and ilPostgresQueryUtils\free().
Here is the caller graph for this function:| ilPDOStatement::errorCode | ( | ) |
Definition at line 104 of file class.ilPDOStatement.php.
| ilPDOStatement::errorInfo | ( | ) |
Definition at line 111 of file class.ilPDOStatement.php.
| ilPDOStatement::execute | ( | $a_data = null | ) |
| array | $a_data |
Implements ilDBStatement.
Definition at line 95 of file class.ilPDOStatement.php.
| ilPDOStatement::fetch | ( | $fetch_mode = ilDBConstants::FETCHMODE_ASSOC | ) |
| int | $fetch_mode |
Implements ilDBStatement.
Definition at line 47 of file class.ilPDOStatement.php.
References fetchRow().
Referenced by fetchAssoc(), and fetchObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPDOStatement::fetchAssoc | ( | ) |
Implements ilDBStatement.
Definition at line 79 of file class.ilPDOStatement.php.
References fetch(), and ilDBConstants\FETCHMODE_ASSOC.
Here is the call graph for this function:| ilPDOStatement::fetchObject | ( | ) |
Implements ilDBStatement.
Definition at line 71 of file class.ilPDOStatement.php.
References fetch(), and ilDBConstants\FETCHMODE_OBJECT.
Here is the call graph for this function:| ilPDOStatement::fetchRow | ( | $fetch_mode = ilDBConstants::FETCHMODE_ASSOC | ) |
| int | $fetch_mode |
| ilDatabaseException |
Implements ilDBStatement.
Definition at line 32 of file class.ilPDOStatement.php.
References ilDBConstants\FETCHMODE_ASSOC, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by fetch().
Here is the caller graph for this function:| ilPDOStatement::numRows | ( | ) |
Implements ilDBStatement.
Definition at line 87 of file class.ilPDOStatement.php.
| ilPDOStatement::rowCount | ( | ) |
Implements ilDBStatement.
Definition at line 63 of file class.ilPDOStatement.php.
|
protected |
Definition at line 16 of file class.ilPDOStatement.php.
Referenced by __construct().