Extends for Mysqli
category | Zend |
---|---|
package | Zend_Db |
subpackage | Statement |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Db_Statement |
__construct(\Zend_Db_Adapter_Abstract $adapter, mixed $sql)
\Zend_Db_Adapter_Abstract
mixed
Either a string or Zend_Db_Select.
_execute(array $params = null
) : boolean
array
OPTIONAL Values to bind to parameter placeholders.
\Zend_Db_Statement_Mysqli_Exception |
---|
boolean
_fetchBound(array $row) : boolean
array
boolean
True_prepare(string $sql) : void
inherited_from | \Zend_Db_Statement::_prepare() |
---|
string
\Zend_Db_Statement_Mysqli_Exception |
---|
bindColumn(string $column, mixed $param, mixed $type = null
) : boolean
inherited_from | \Zend_Db_Statement_Interface::bindColumn() |
---|
string
Name the column in the result set, either by position or by name.
mixed
Reference to the PHP variable containing the value.
mixed
OPTIONAL
boolean
bindParam(mixed $parameter, mixed $variable, mixed $type= null
, mixed $length= null
, mixed $options= null
) : boolean
inherited_from | \Zend_Db_Statement_Interface::bindParam() |
---|
mixed
Name the parameter, either integer or string.
mixed
Reference to PHP variable containing the value.
mixed
OPTIONAL Datatype of SQL parameter.
mixed
OPTIONAL Length of SQL parameter.
mixed
OPTIONAL Other options.
boolean
bindValue(mixed $parameter, mixed $value, mixed $type = null
) : boolean
inherited_from | \Zend_Db_Statement_Interface::bindValue() |
---|
mixed
Name the parameter, either integer or string.
mixed
Scalar value to bind to the parameter.
mixed
OPTIONAL Datatype of the parameter.
boolean
close() : boolean
boolean
closeCursor() : boolean
boolean
columnCount() : integer
Returns null if the statement has no result set metadata.
integer
The number of columns.errorCode() : string
string
error code.errorInfo() : array
array
execute(array $params = null
) : boolean
inherited_from | \Zend_Db_Statement_Interface::execute() |
---|
array
OPTIONAL Values to bind to parameter placeholders.
boolean
fetch(integer $style= null
, integer $cursor= null
, integer $offset= null
) : mixed
integer
OPTIONAL Fetch mode for this fetch operation.
integer
OPTIONAL Absolute, relative, or other.
integer
OPTIONAL Number for absolute or relative cursors.
\Zend_Db_Statement_Mysqli_Exception |
---|
mixed
Array, object, or scalar depending on fetch mode.fetchAll(integer $style= null
, integer $col= null
) : array
inherited_from | \Zend_Db_Statement_Interface::fetchAll() |
---|
integer
OPTIONAL Fetch mode.
integer
OPTIONAL Column number, if fetch mode is by column.
array
Collection of rows, each in a format by the fetch mode.fetchColumn(integer $col = 0
) : string
inherited_from | \Zend_Db_Statement_Interface::fetchColumn() |
---|
integer
OPTIONAL Position of the column to fetch.
string
One value from the next row of result set, or false.fetchObject(string $class= 'stdClass'
, array $config= array()
) : mixed
inherited_from | \Zend_Db_Statement_Interface::fetchObject() |
---|
string
OPTIONAL Name of the class to create.
array
OPTIONAL Constructor arguments for the class.
mixed
One object instance of the specified class, or false.getAdapter() : \Zend_Db_Adapter_Abstract
\Zend_Db_Adapter_Abstract
getAttribute(string $key) : mixed
inherited_from | \Zend_Db_Statement_Interface::getAttribute() |
---|
string
Attribute name.
mixed
Attribute value.getDriverStatement() : \unknown_type
\unknown_type
nextRowset() : boolean
\Zend_Db_Statement_Mysqli_Exception |
---|
boolean
rowCount() : integer
integer
The number of rows affected.setAttribute(string $key, mixed $val) : boolean
inherited_from | \Zend_Db_Statement_Interface::setAttribute() |
---|
string
Attribute name.
mixed
Attribute value.
boolean
setFetchMode(integer $mode) : boolean
inherited_from | \Zend_Db_Statement_Interface::setFetchMode() |
---|
integer
The fetch mode.
\Zend_Db_Statement_Exception |
---|
boolean
_bindParam(mixed $parameter, mixed $variable, mixed $type= null
, mixed $length= null
, mixed $options= null
) : boolean
mixed
Name the parameter, either integer or string.
mixed
Reference to PHP variable containing the value.
mixed
OPTIONAL Datatype of SQL parameter.
mixed
OPTIONAL Length of SQL parameter.
mixed
OPTIONAL Other options.
\Zend_Db_Statement_Mysqli_Exception |
---|
boolean
_parseParameters(string $sql) : void
string
_prepare($sql) : void
_stripQuoted(string $sql) : string
string
string
$_adapter : \Zend_Db_Adapter_Abstract
null
$_attribute : array
array()
$_bindColumn : array
array()
$_bindParam : array
array()
$_fetchMode : integer
\Zend_Db::FETCH_ASSOC
$_keys : array
$_queryId : \Zend_Db_Profiler_Query
null
$_sqlParam : array
array()
$_sqlSplit : array
array()
$_stmt : resource | object
null
$_values : array