Zend_Db_StatementImplements interfaces:
Abstract class to emulate a PDOStatement for native database adapters.
Located in /library/Zend/Db/Statement.php (line 37)
| Class | Description |
|---|---|
Zend_Db_Statement_Mysqli
|
Extends for Mysqli |
Zend_Db_Statement_Oracle
|
Extends for Oracle. |
void
bindParam
(mixed $parameter, mixed &$variable, [mixed $type = null], [mixed $length = null], [mixed $options = null])
mixed
$_attribute
= array() (line 47)
Attributes.
mixed
$_bindColumn
= array() (line 52)
Column result bindings.
mixed
$_bindParam
= array() (line 57)
Query parameter bindings; covers bindParam() and bindValue().
mixed
$_fetchMode
= Zend_Db::FETCH_ASSOC (line 42)
The current fetch mode.
mixed
$_sqlParam
= array() (line 67)
Parameter placeholders in the SQL string by position in the split array.
mixed
$_sqlSplit
= array() (line 62)
SQL string split into an array at placeholders.
Constructor __construct (line 73)
Constructor.
bindColumn (line 123)
binds a PHP variable to an output column in a result set
bindParam (line 132)
binds a PHP variable to a parameter in the prepared statement
bindValue (line 271)
binds a value to a parameter in the prepared statement
closeCursor (line 282)
closes the cursor, allowing the statement to be executed again
columnCount (line 293)
returns the number of columns in the result set
errorCode (line 304)
retrieves an error code, if any, from the statement
errorInfo (line 315)
retrieves an array of error information, if any, from the statement
execute (line 326)
executes a prepared statement
fetch (line 337)
fetches a row from a result set
fetchAll (line 161)
fetches an array containing all of the rows from a result set
fetchColumn (line 180)
returns the data from a single column in a result set
fetchObject (line 194)
fetches the next row and returns it as an object
getAttribute (line 208)
retrieves a Zend_Db_Statement attribute
nextRowset (line 249)
retrieves the next rowset (result set)
rowCount (line 260)
returns the number of rows that were affected by the execution of an SQL statement
setAttribute (line 219)
sets a Zend_Db_Statement attribute
setFetchMode (line 228)
sets the fetch mode for a Zend_Db_Statement
_joinSql (line 109)
Joins SQL text and bound params into a string.
_prepSql (line 83)
Splits SQL into text and params, sets up $this->_bindParam for replacements.
Documentation generated on Wed, 08 Mar 2006 04:54:57 -0800 by phpDocumentor 1.3.0RC4