Binds a PHP variable to an output column in a result set.
void
bindColumn
(string $column, &$param, [string $type = null], string $param)
-
string
$column
-
string
$param
-
string
$type: OPTIONAL
-
&$param
Implementation of:
- Zend_Db_Statement_Interface::bindColumn()
- binds a PHP variable to an output column in a result set
Binds a PHP variable to a parameter in the prepared statement.
void
bindParam
(mixed $parameter, &$variable, [string $type = null], [integer $length = null], [array $options = null], string $variable)
-
mixed
$parameter
-
string
$variable
-
string
$type: OPTIONAL
-
integer
$length: OPTIONAL
-
array
$options: OPTIONAL
-
&$variable
Implementation of:
- Zend_Db_Statement_Interface::bindParam()
- binds a PHP variable to a parameter in the prepared statement
Redefined in descendants as:
Binds a value to a parameter in the prepared statement.
void
bindValue
(string $parameter, string $value, [string $type = null])
-
string
$parameter
-
string
$value
-
string
$type: OPTIONAL
Implementation of:
- Zend_Db_Statement_Interface::bindValue()
- binds a value to a parameter in the prepared statement
Closes the cursor, allowing the statement to be executed again.
void
closeCursor
()
Implementation of:
- Zend_Db_Statement_Interface::closeCursor()
- closes the cursor, allowing the statement to be executed again
Redefined in descendants as:
Retrieves an error code, if any, from the statement.
void
errorCode
()
Implementation of:
- Zend_Db_Statement_Interface::errorCode()
- retrieves an error code, if any, from the statement
Redefined in descendants as:
Retrieves an array of error information, if any, from the statement.
void
errorInfo
()
Implementation of:
- Zend_Db_Statement_Interface::errorInfo()
- retrieves an array of error information, if any, from the statement
Redefined in descendants as:
Fetches a row from a result set.
void
fetch
([string $style = null], [string $cursor = null], [integer $offset = null])
-
string
$style: OPTIONAL
-
string
$cursor: OPTIONAL
-
integer
$offset: OPTIONAL
Implementation of:
- Zend_Db_Statement_Interface::fetch()
- fetches a row from a result set
Redefined in descendants as:
Fetches an array containing all of the rows from a result set.
array
fetchAll
([integer $style = null], [string $col = null])
-
integer
$style: OPTIONAL
-
string
$col: OPTIONAL
Implementation of:
- Zend_Db_Statement_Interface::fetchAll()
- fetches an array containing all of the rows from a result set
Redefined in descendants as:
Returns the data from a single column in the next single row of the result set.
array
fetchColumn
(string $col)
Implementation of:
- Zend_Db_Statement_Interface::fetchColumn()
- returns the data from a single column in a result set
Redefined in descendants as:
Fetches the next row and returns it as an object.
stdClass
fetchObject
([string $class = 'stdClass'], [array $config = null])
-
string
$class: OPTIONAL
-
array
$config: OPTIONAL
Implementation of:
- Zend_Db_Statement_Interface::fetchObject()
- fetches the next row and returns it as an object
Redefined in descendants as:
returns the number of rows that were affected by the execution of an SQL statement
void
rowCount
()
Implementation of:
- Zend_Db_Statement_Interface::rowCount()
- returns the number of rows that were affected by the execution of an SQL statement
Redefined in descendants as:
Joins SQL text and bound params into a string.
string
_joinSql
()
Splits SQL into text and params, sets up $this->_bindParam for replacements.
Redefined in descendants as: