Zend_Db_StatementImplements interfaces:
Abstract class to emulate a PDOStatement for native database adapters.
Located in /Zend/Db/Statement.php (line 37)
| Class | Description |
|---|---|
Zend_Db_Statement_Db2
|
Extends for DB2 native adapter. |
Zend_Db_Statement_Mysqli
|
Extends for Mysqli |
Zend_Db_Statement_Oracle
|
Extends for Oracle. |
void
bindParam
(mixed $parameter, &$variable, [string $type = null], [integer $length = null], [array $options = null], string $variable)
array
$_attribute
= array() (line 52)
Attributes.
array
$_bindColumn
= array() (line 59)
Column result bindings.
array
$_bindParam
= array() (line 66)
Query parameter bindings; covers bindParam() and bindValue().
integer
$_fetchMode
= Zend_Db::FETCH_ASSOC (line 45)
The current fetch mode.
array
$_sqlParam
= array() (line 80)
Parameter placeholders in the SQL string by position in the split array.
array
$_sqlSplit
= array() (line 73)
SQL string split into an array at placeholders.
Constructor __construct (line 89)
Constructor.
bindColumn (line 146)
Binds a PHP variable to an output column in a result set.
bindParam (line 162)
Binds a PHP variable to a parameter in the prepared statement.
bindValue (line 327)
Binds a value to a parameter in the prepared statement.
closeCursor (line 340)
Closes the cursor, allowing the statement to be executed again.
columnCount (line 353)
Returns the number of columns in the result set.
errorCode (line 366)
Retrieves an error code, if any, from the statement.
errorInfo (line 379)
Retrieves an array of error information, if any, from the statement.
execute (line 393)
Executes a prepared statement.
fetch (line 409)
Fetches a row from a result set.
fetchAll (line 194)
Fetches an array containing all of the rows from a result set.
fetchColumn (line 216)
Returns the data from a single column in the next single row of the result set.
fetchObject (line 235)
Fetches the next row and returns it as an object.
getAttribute (line 251)
Retrieves a Zend_Db_Statement attribute.
nextRowset (line 299)
Retrieves the next rowset (result set).
rowCount (line 311)
returns the number of rows that were affected by the execution of an SQL statement
setAttribute (line 265)
Sets a Zend_Db_Statement attribute.
setFetchMode (line 276)
Sets the fetch mode for a Zend_Db_Statement.
_joinSql (line 128)
Joins SQL text and bound params into a string.
_prepSql (line 101)
Splits SQL into text and params, sets up $this->_bindParam for replacements.
Documentation generated on Wed, 21 Feb 2007 12:00:18 -0800 by phpDocumentor 1.3.1