Zend_Db_StatementImplements interfaces:
Abstract class to emulate a PDOStatement for native database adapters.
Located in /Db/Statement.php (line 42)
| Class | Description |
|---|---|
Zend_Db_Statement_Pdo
|
Proxy class to wrap a PDOStatement object. |
Zend_Db_Statement_Db2
|
Extends for DB2 native adapter. |
Zend_Db_Statement_Mysqli
|
Extends for Mysqli |
Zend_Db_Statement_Sqlsrv
|
Extends for Microsoft SQL Server Driver for PHP |
Zend_Db_Statement_Oracle
|
Extends for Oracle. |
bool
bindParam
(mixed $parameter, &$variable, [mixed $type = null], [mixed $length = null], [mixed $options = null], mixed $variable)
Zend_Db_Adapter_Abstract
$_adapter
= null (line 53)
array
$_attribute
= array() (line 67)
Attributes.
array
$_bindColumn
= array() (line 74)
Column result bindings.
array
$_bindParam
= array() (line 81)
Query parameter bindings; covers bindParam() and bindValue().
integer
$_fetchMode
= Zend_Db::FETCH_ASSOC (line 60)
The current fetch mode.
Zend_Db_Profiler_Query
$_queryId
= null (line 100)
array
$_sqlParam
= array() (line 95)
Parameter placeholders in the SQL string by position in the split array.
array
$_sqlSplit
= array() (line 88)
SQL string split into an array at placeholders.
resource|object The
$_stmt
= null (line 48)
Constructor __construct (line 108)
Constructor for a statement.
bindColumn (line 222)
Bind a column of the statement result set to a PHP variable.
bindParam (line 238)
Binds a parameter to the specified variable name.
bindValue (line 283)
Binds a value to a parameter.
execute (line 294)
Executes a prepared statement.
fetchAll (line 334)
Returns an array containing all of the result set rows.
fetchColumn (line 358)
Returns a single column from the next row of a result set.
fetchObject (line 376)
Fetches the next row and returns it as an object.
getAdapter (line 471)
Gets the Zend_Db_Adapter_Abstract for this particular Zend_Db_Statement object.
getAttribute (line 395)
Retrieve a statement attribute.
getDriverStatement (line 481)
Gets the resource or object setup by the
_parse
setAttribute (line 409)
Set a statement attribute.
setFetchMode (line 421)
Set the default fetch mode for this statement.
_fetchBound (line 449)
Helper function to map retrieved row to bound column variables
_parseParameters (line 135)
_prepare (line 126)
Internal method called by abstract statment constructor to setup the driver level statement
_stripQuoted (line 177)
Remove parts of a SQL string that contain quoted strings of values or identifiers.
Documentation generated on Mon, 21 Jun 2010 15:46:37 -0400 by phpDocumentor 1.4.3