|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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 9 of file class.ilPDOStatement.php.
| ilPDOStatement::__construct | ( | PDOStatement | $pdo_statement | ) |
| $pdo_statement | PDOStatement The PDO Statement to be wrapped. |
Definition at line 21 of file class.ilPDOStatement.php.
References $pdo_statement.
| ilPDOStatement::closeCursor | ( | ) |
Pdo allows for a manual closing of the cursor.
Definition at line 57 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 112 of file class.ilPDOStatement.php.
| ilPDOStatement::errorInfo | ( | ) |
Definition at line 120 of file class.ilPDOStatement.php.
| ilPDOStatement::execute | ( | $a_data = null | ) |
| array | $a_data |
Implements ilDBStatement.
Definition at line 102 of file class.ilPDOStatement.php.
| ilPDOStatement::fetch | ( | $fetch_mode = ilDBConstants::FETCHMODE_ASSOC | ) |
| int | $fetch_mode |
Implements ilDBStatement.
Definition at line 48 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 84 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 75 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 93 of file class.ilPDOStatement.php.
| ilPDOStatement::rowCount | ( | ) |
Implements ilDBStatement.
Definition at line 66 of file class.ilPDOStatement.php.
|
protected |
Definition at line 15 of file class.ilPDOStatement.php.
Referenced by __construct().