Проект для складирования кода ZF 1.x
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

413 lines
22 KiB

<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>Zend Framework Extras API Documentation » \ZendX_Db_Statement_Firebird</title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner"><div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">Zend Framework Extras API Documentation</a><div class="nav-collapse"><ul class="nav">
<li class="dropdown">
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
<li><a>Packages</a></li>
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
<li><a href="../packages/ZendX.html"><i class="icon-folder-open"></i> ZendX</a></li>
<li><a href="../packages/ZendX_Application.html"><i class="icon-folder-open"></i> ZendX_Application</a></li>
<li><a href="../packages/ZendX_Console.html"><i class="icon-folder-open"></i> ZendX_Console</a></li>
<li><a href="../packages/ZendX_Db.html"><i class="icon-folder-open"></i> ZendX_Db</a></li>
<li><a href="../packages/ZendX_JQuery.html"><i class="icon-folder-open"></i> ZendX_JQuery</a></li>
</ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
Reports <b class="caret"></b></a><ul class="dropdown-menu">
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
<span class="label label-info">38</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">4</span></a></li>
</ul>
</li>
</ul></div>
</div></div>
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
</div>
<div id="___" class="container">
<noscript><div class="alert alert-warning">
Javascript is disabled; several features are only available
if Javascript is enabled.
</div></noscript>
<div class="row">
<div class="span4">
<div xmlns:php="http://php.net/xsl" class="btn-toolbar">
<div class="btn-group visibility" data-toggle="buttons-checkbox">
<button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button>
</div>
<div class="btn-group view pull-right" data-toggle="buttons-radio">
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
</div>
</div>
<ul xmlns:php="http://php.net/xsl" class="side-nav nav nav-list">
<li class="nav-header">
<i title="Methods" class="icon-custom icon-method"></i> Methods
<ul>
<li class="method public "><a href="#method__execute" title="_execute() :: Executes a prepared statement."><span class="description">Executes a prepared statement.</span><pre>_execute()</pre></a></li>
<li class="method public "><a href="#method__prepare" title="_prepare() :: "><span class="description">_prepare()
</span><pre>_prepare()</pre></a></li>
<li class="method public "><a href="#method_close" title="close() :: Closes the cursor and the statement."><span class="description">Closes the cursor and the statement.</span><pre>close()</pre></a></li>
<li class="method public "><a href="#method_closeCursor" title="closeCursor() :: Closes the cursor, allowing the statement to be executed again."><span class="description">Closes the cursor, allowing the statement to be executed again.</span><pre>closeCursor()</pre></a></li>
<li class="method public "><a href="#method_columnCount" title="columnCount() :: Returns the number of columns in the result set."><span class="description">Returns the number of columns in the result set.</span><pre>columnCount()</pre></a></li>
<li class="method public "><a href="#method_errorCode" title="errorCode() :: Retrieves the error code, if any, associated with the last operation on
the statement handle."><span class="description">Retrieves the error code, if any, associated with the last operation on
the statement handle.</span><pre>errorCode()</pre></a></li>
<li class="method public "><a href="#method_errorInfo" title="errorInfo() :: Retrieves an array of error information, if any, associated with the
last operation on the statement handle."><span class="description">Retrieves an array of error information, if any, associated with the
last operation on the statement handle.</span><pre>errorInfo()</pre></a></li>
<li class="method public "><a href="#method_fetch" title="fetch() :: Fetches a row from the result set."><span class="description">Fetches a row from the result set.</span><pre>fetch()</pre></a></li>
<li class="method public "><a href="#method_nextRowset" title="nextRowset() :: Retrieves the next rowset (result set) for a SQL statement that has
multiple result sets. An example is a stored procedure that returns
the results of multiple queries."><span class="description">Retrieves the next rowset (result set) for a SQL statement that has
multiple result sets. An example is a stored procedure that returns
the results of multiple queries.</span><pre>nextRowset()</pre></a></li>
<li class="method public "><a href="#method_rowCount" title="rowCount() :: Returns the number of rows affected by the execution of the
last INSERT, DELETE, or UPDATE statement executed by this
statement object."><span class="description">Returns the number of rows affected by the execution of the
last INSERT, DELETE, or UPDATE statement executed by this
statement object.</span><pre>rowCount()</pre></a></li>
</ul>
</li>
<li class="nav-header protected">» Protected
<ul><li class="method protected "><a href="#method__bindParam" title="_bindParam() :: Binds a parameter to the specified variable name."><span class="description">Binds a parameter to the specified variable name.</span><pre>_bindParam()</pre></a></li></ul>
</li>
<li class="nav-header">
<i title="Properties" class="icon-custom icon-property"></i> Properties
<ul></ul>
</li>
<li class="nav-header protected">» Protected
<ul>
<li class="property protected "><a href="#property__keys" title="$_keys() :: Column names."><span class="description"></span><pre>$_keys</pre></a></li>
<li class="property protected "><a href="#property__meta" title="$_meta() :: "><span class="description"></span><pre>$_meta</pre></a></li>
<li class="property protected "><a href="#property__stmtColumnCount" title="$_stmtColumnCount() :: The firebird_stmtResult resource."><span class="description"></span><pre>$_stmtColumnCount</pre></a></li>
<li class="property protected "><a href="#property__stmtPrepared" title="$_stmtPrepared() :: The firebird_stmtPrepared resource."><span class="description"></span><pre>$_stmtPrepared</pre></a></li>
<li class="property protected "><a href="#property__stmtResult" title="$_stmtResult() :: The firebird_stmtResult resource."><span class="description"></span><pre>$_stmtResult</pre></a></li>
<li class="property protected "><a href="#property__stmtRowCount" title="$_stmtRowCount() :: The firebird_stmtResult resource."><span class="description"></span><pre>$_stmtRowCount</pre></a></li>
<li class="property protected "><a href="#property__values" title="$_values() :: Fetched result values."><span class="description"></span><pre>$_values</pre></a></li>
</ul>
</li>
</ul>
</div>
<div class="span8">
<a xmlns:php="http://php.net/xsl" id="\ZendX_Db_Statement_Firebird"></a><ul xmlns:php="http://php.net/xsl" class="breadcrumb">
<li>
<a href="../index.html"><i title="Classes" class="icon-custom icon-class"></i></a><span class="divider">\</span>
</li>
<li class="active">
<span class="divider">\</span><a href="../classes/ZendX_Db_Statement_Firebird.html">ZendX_Db_Statement_Firebird</a>
</li>
</ul>
<div xmlns:php="http://php.net/xsl" class="element class">
<p class="short_description">Extends for Firebird</p>
<div class="details">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>category</th>
<td>ZendX</td>
</tr>
<tr>
<th>package</th>
<td><a href="../packages/ZendX_Db.Statement.html">ZendX_Db</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Statement</td>
</tr>
<tr>
<th>copyright</th>
<td>Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)</td>
</tr>
<tr>
<th>license</th>
<td><a href="http://framework.zend.com/license/new-bsd">New BSD License</a></td>
</tr>
</table>
<h3>
<i title="Methods" class="icon-custom icon-method"></i> Methods</h3>
<a id="method__execute"></a><div class="element clickable method public method__execute " data-toggle="collapse" data-target=".method__execute .collapse" title="public">
<h2>Executes a prepared statement.</h2>
<pre>_execute(array $params<code> = null</code>) : boolean</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$params</h4>
<code>array</code><p>OPTIONAL Values to bind to parameter placeholders.</p></div>
<h3>Exceptions</h3>
<table class="table table-bordered"><tr>
<th><code>\ZendX_Db_Statement_Firebird_Exception</code></th>
<td></td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>boolean</code></div>
</div></div>
</div>
<a id="method__prepare"></a><div class="element clickable method public method__prepare " data-toggle="collapse" data-target=".method__prepare .collapse" title="public">
<h2>_prepare()
</h2>
<pre>_prepare(string $sql) : void</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$sql</h4>
<code>string</code>
</div>
<h3>Exceptions</h3>
<table class="table table-bordered"><tr>
<th><code>\ZendX_Db_Statement_Firebird_Exception</code></th>
<td></td>
</tr></table>
</div></div>
</div>
<a id="method_close"></a><div class="element clickable method public method_close " data-toggle="collapse" data-target=".method_close .collapse" title="public">
<h2>Closes the cursor and the statement.</h2>
<pre>close() : boolean</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>boolean</code></div>
</div></div>
</div>
<a id="method_closeCursor"></a><div class="element clickable method public method_closeCursor " data-toggle="collapse" data-target=".method_closeCursor .collapse" title="public">
<h2>Closes the cursor, allowing the statement to be executed again.</h2>
<pre>closeCursor() : boolean</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>boolean</code></div>
</div></div>
</div>
<a id="method_columnCount"></a><div class="element clickable method public method_columnCount " data-toggle="collapse" data-target=".method_columnCount .collapse" title="public">
<h2>Returns the number of columns in the result set.</h2>
<pre>columnCount() : integer</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"><p>Returns null if the statement has no result set metadata.</p></div>
<h3>Returns</h3>
<div class="subelement response">
<code>integer</code>The number of columns.</div>
</div></div>
</div>
<a id="method_errorCode"></a><div class="element clickable method public method_errorCode " data-toggle="collapse" data-target=".method_errorCode .collapse" title="public">
<h2>Retrieves the error code, if any, associated with the last operation on
the statement handle.</h2>
<pre>errorCode() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response">
<code>string</code>error code.</div>
</div></div>
</div>
<a id="method_errorInfo"></a><div class="element clickable method public method_errorInfo " data-toggle="collapse" data-target=".method_errorInfo .collapse" title="public">
<h2>Retrieves an array of error information, if any, associated with the
last operation on the statement handle.</h2>
<pre>errorInfo() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a id="method_fetch"></a><div class="element clickable method public method_fetch " data-toggle="collapse" data-target=".method_fetch .collapse" title="public">
<h2>Fetches a row from the result set.</h2>
<pre>fetch(integer $style<code> = null</code>, integer $cursor<code> = null</code>, integer $offset<code> = null</code>) : mixed</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$style</h4>
<code>integer</code><p>OPTIONAL Fetch mode for this fetch operation.</p></div>
<div class="subelement argument">
<h4>$cursor</h4>
<code>integer</code><p>OPTIONAL Absolute, relative, or other.</p></div>
<div class="subelement argument">
<h4>$offset</h4>
<code>integer</code><p>OPTIONAL Number for absolute or relative cursors.</p></div>
<h3>Exceptions</h3>
<table class="table table-bordered"><tr>
<th><code>\Zend_Db_Statement_Exception</code></th>
<td></td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response">
<code>mixed</code>Array, object, or scalar depending on fetch mode.</div>
</div></div>
</div>
<a id="method_nextRowset"></a><div class="element clickable method public method_nextRowset " data-toggle="collapse" data-target=".method_nextRowset .collapse" title="public">
<h2>Retrieves the next rowset (result set) for a SQL statement that has
multiple result sets. An example is a stored procedure that returns
the results of multiple queries.</h2>
<pre>nextRowset() : boolean</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Exceptions</h3>
<table class="table table-bordered"><tr>
<th><code>\ZendX_Db_Statement_Firebird_Exception</code></th>
<td></td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>boolean</code></div>
</div></div>
</div>
<a id="method_rowCount"></a><div class="element clickable method public method_rowCount " data-toggle="collapse" data-target=".method_rowCount .collapse" title="public">
<h2>Returns the number of rows affected by the execution of the
last INSERT, DELETE, or UPDATE statement executed by this
statement object.</h2>
<pre>rowCount() : integer</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Exceptions</h3>
<table class="table table-bordered"><tr>
<th><code>\Zend_Db_Statement_Exception</code></th>
<td></td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response">
<code>integer</code>The number of rows affected.</div>
</div></div>
</div>
<a id="method__bindParam"></a><div class="element clickable method protected method__bindParam " data-toggle="collapse" data-target=".method__bindParam .collapse" title="protected">
<h2>Binds a parameter to the specified variable name.</h2>
<pre>_bindParam(mixed $parameter, mixed $variable, mixed $type<code> = null</code>, mixed $length<code> = null</code>, mixed $options<code> = null</code>) : boolean</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$parameter</h4>
<code>mixed</code><p>Name the parameter, either integer or string.</p></div>
<div class="subelement argument">
<h4>$variable</h4>
<code>mixed</code><p>Reference to PHP variable containing the value.</p></div>
<div class="subelement argument">
<h4>$type</h4>
<code>mixed</code><p>OPTIONAL Datatype of SQL parameter.</p></div>
<div class="subelement argument">
<h4>$length</h4>
<code>mixed</code><p>OPTIONAL Length of SQL parameter.</p></div>
<div class="subelement argument">
<h4>$options</h4>
<code>mixed</code><p>OPTIONAL Other options.</p></div>
<h3>Exceptions</h3>
<table class="table table-bordered"><tr>
<th><code>\ZendX_Db_Statement_Firebird_Exception</code></th>
<td></td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>boolean</code></div>
</div></div>
</div>
<h3>
<i title="Properties" class="icon-custom icon-property"></i> Properties</h3>
<a id="property__keys"> </a><div class="element clickable property protected property__keys" data-toggle="collapse" data-target=".property__keys .collapse" title="protected">
<h2>Column names.</h2>
<pre>$_keys : array</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>array()</code></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property__meta"> </a><div class="element clickable property protected property__meta" data-toggle="collapse" data-target=".property__meta .collapse" title="protected">
<h2>$_meta</h2>
<pre>$_meta : array</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>null</code></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property__stmtColumnCount"> </a><div class="element clickable property protected property__stmtColumnCount" data-toggle="collapse" data-target=".property__stmtColumnCount .collapse" title="protected">
<h2>The firebird_stmtResult resource.</h2>
<pre>$_stmtColumnCount : \firebird_result</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>0</code></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property__stmtPrepared"> </a><div class="element clickable property protected property__stmtPrepared" data-toggle="collapse" data-target=".property__stmtPrepared .collapse" title="protected">
<h2>The firebird_stmtPrepared resource.</h2>
<pre>$_stmtPrepared : \firebird_stmtPrepared</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>null</code></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property__stmtResult"> </a><div class="element clickable property protected property__stmtResult" data-toggle="collapse" data-target=".property__stmtResult .collapse" title="protected">
<h2>The firebird_stmtResult resource.</h2>
<pre>$_stmtResult : \firebird_result</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>null</code></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property__stmtRowCount"> </a><div class="element clickable property protected property__stmtRowCount" data-toggle="collapse" data-target=".property__stmtRowCount .collapse" title="protected">
<h2>The firebird_stmtResult resource.</h2>
<pre>$_stmtRowCount : \firebird_result</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>0</code></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property__values"> </a><div class="element clickable property protected property__values" data-toggle="collapse" data-target=".property__values .collapse" title="protected">
<h2>Fetched result values.</h2>
<pre>$_values : array</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>array()</code></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
</div>
</div>
</div>
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.8.5</a> and<br>
generated on 2016-09-08T10:35:38-05:00.<br></footer></div>
</div>
</body>
</html>