ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilPDOStatement is a Wrapper Class for PDOStatement. More...
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 () | ||||
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 23 of file class.ilPDOStatement.php.
References $pdo_statement.
ilPDOStatement::closeCursor | ( | ) |
Pdo allows for a manual closing of the cursor.
Definition at line 59 of file class.ilPDOStatement.php.
Referenced by ilMySQLQueryUtils\free(), and ilPostgresQueryUtils\free().
ilPDOStatement::errorCode | ( | ) |
Definition at line 114 of file class.ilPDOStatement.php.
ilPDOStatement::errorInfo | ( | ) |
Definition at line 122 of file class.ilPDOStatement.php.
ilPDOStatement::execute | ( | $a_data = null | ) |
array | $a_data |
Implements ilDBStatement.
Definition at line 104 of file class.ilPDOStatement.php.
ilPDOStatement::fetch | ( | $fetch_mode = ilDBConstants::FETCHMODE_ASSOC | ) |
int | $fetch_mode |
Implements ilDBStatement.
Definition at line 50 of file class.ilPDOStatement.php.
References fetchRow().
Referenced by fetchAssoc(), and fetchObject().
ilPDOStatement::fetchAssoc | ( | ) |
Implements ilDBStatement.
Definition at line 86 of file class.ilPDOStatement.php.
References fetch(), and ilDBConstants\FETCHMODE_ASSOC.
ilPDOStatement::fetchObject | ( | ) |
Implements ilDBStatement.
Definition at line 77 of file class.ilPDOStatement.php.
References fetch(), and ilDBConstants\FETCHMODE_OBJECT.
ilPDOStatement::fetchRow | ( | $fetch_mode = ilDBConstants::FETCHMODE_ASSOC | ) |
int | $fetch_mode |
ilDatabaseException |
Implements ilDBStatement.
Definition at line 34 of file class.ilPDOStatement.php.
References ilDBConstants\FETCHMODE_ASSOC, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by fetch().
ilPDOStatement::numRows | ( | ) |
ilPDOStatement::rowCount | ( | ) |
|
protected |
Definition at line 17 of file class.ilPDOStatement.php.
Referenced by __construct().