Db/Statement/Firebird.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- ZendX
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- ZendX_Db
- Subpackage
- Statement
- Version
- $Id: $
\ZendX_Db_Statement_Firebird
Package: ZendX_Db\StatementExtends for Firebird
- Parent(s)
- \Zend_Db_Statement
- Category
- ZendX
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods



_bindParam(mixed $parameter, mixed $variable, mixed $type = null, mixed $length = null, mixed $options = null) : bool
Binds a parameter to the specified variable name.
ParametersName | Type | Description |
---|
$parameter | mixed | Name the parameter, either integer or string. |
---|
$variable | mixed | Reference to PHP variable containing the value. |
---|
$type | mixed | OPTIONAL Datatype of SQL parameter. |
---|
$length | mixed | OPTIONAL Length of SQL parameter. |
---|
$options | mixed | OPTIONAL Other options. |
---|
ReturnsThrows 


_execute(array $params = null) : bool
Executes a prepared statement.
ParametersName | Type | Description |
---|
$params | array | OPTIONAL Values to bind to parameter placeholders. |
---|
ReturnsThrows 


columnCount() : int
Returns the number of columns in the result set.
Returns null if the statement has no result set metadata.
ReturnsType | Description |
---|
int | The number of columns. |



errorCode() : string
Retrieves the error code, if any, associated with the last operation on
the statement handle.
ReturnsType | Description |
---|
string | error code. |



fetch(int $style = null, int $cursor = null, int $offset = null) : mixed
Fetches a row from the result set.
ParametersName | Type | Description |
---|
$style | int | OPTIONAL Fetch mode for this fetch operation. |
---|
$cursor | int | OPTIONAL Absolute, relative, or other. |
---|
$offset | int | OPTIONAL Number for absolute or relative cursors. |
---|
ReturnsType | Description |
---|
mixed | Array, object, or scalar depending on fetch mode. |
Throws 


rowCount() : int
Returns the number of rows affected by the execution of the
last INSERT, DELETE, or UPDATE statement executed by this
statement object.
ReturnsType | Description |
---|
int | The number of rows affected. |
Throws