Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 20dfcd2025b439230f37dde734a38157 > files > 16

php-ZendFramework-extras-1.12.3-3.mga4.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Zend Framework Extras API Documentation</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta><link rel="stylesheet" href="../css/template.css" type="text/css"></link><script type="text/javascript" src="../js/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../js/jquery.tools.min.js"></script><script type="text/javascript" src="../js/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../js/template.js"></script></head><body><div id="content"><h1 class="file">Db/Adapter/Firebird.php</h1><div id="file-nav-box"><div id="file-nav-options">
              Show:
              <img src="../images/icons/visibility_public.png" alt="Public" id="show-public"></img><img src="../images/icons/visibility_protected.png" alt="Protected" id="show-protected"></img><img src="../images/icons/visibility_private.png" alt="Private" id="show-private"></img><span class="attribute" id="show-inherited">inherited</span></div><div id="file-nav-container"><ul id="file-nav"><li><a href="#classes"><img src="../images/icons/class.png" alt="Class" height="14"></img>
                          Classes
                      </a><ul><li><a href="#\ZendX_Db_Adapter_Firebird">\ZendX_Db_Adapter_Firebird</a></li></ul></li></ul><div style="clear: left;"></div></div><div id="file-nav-tab">
              Table of Contents
          </div></div><a name="top" class="anchor"></a><div id="file-description"><div class="short-description">Zend Framework</div><div class="long-description"><p>LICENSE</p>

<p>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.</p></div></div><dl class="file-info"><dt>Category</dt><dd>ZendX
         
    </dd><dt>Copyright</dt><dd>Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
         
    </dd><dt>License</dt><dd><a href="http://framework.zend.com/license/new-bsd">New BSD License</a>
         
    </dd><dt>Package</dt><dd>ZendX_Db
         
    </dd><dt>Subpackage</dt><dd>Adapter
         
    </dd><dt>Version</dt><dd>$Id: $
         
    </dd></dl><a name="classes" class="anchor"></a><a id="\ZendX_Db_Adapter_Firebird" class="anchor"></a><h2 class="class">\ZendX_Db_Adapter_Firebird<div class="to-top"><a href="#top">jump to top</a></div></h2><div class="class"><small class="package"><b>Package: </b>ZendX\Db\Adapter</small><div class="long-description"></div><dl class="class-info"><dt>Parent(s)</dt><dd>\Zend_Db_Adapter_Abstract</dd><dt>Category</dt><dd>ZendX
         
    </dd><dt>Copyright</dt><dd>Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
         
    </dd><dt>License</dt><dd><a href="http://framework.zend.com/license/new-bsd">New BSD License</a>
         
    </dd></dl><h3>Properties</h3><div><a id="\ZendX_Db_Adapter_Firebird::$_autoQuoteIdentifiers" class="anchor"></a><div class="property protected"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>bool <span class="highlight">$_autoQuoteIdentifiers</span> = true</code><div class="description"><div class="short-description">Specifies whether the adapter automatically quotes identifiers.</div></div><div class="code-tabs"><div class="long-description"><p>If true, most SQL generated by Zend_Db classes applies
identifier quoting automatically.
If false, developer must quote identifiers themselves
by calling quoteIdentifier().</p></div><strong>Default value</strong><code>true</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>bool</dd></dl></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::$_numericDataTypes" class="anchor"></a><div class="property protected"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>array <span class="highlight">$_numericDataTypes</span> = array(\Zend_Db::INT_TYPE =&gt; \Zend_Db::INT_TYPE, \Zend_Db::BIGINT_TYPE =&gt; \Zend_Db::BIGINT_TYPE, \Zend_Db::FLOAT_TYPE =&gt; \Zend_Db::FLOAT_TYPE, 'SMALLINT' =&gt; \Zend_Db::INT_TYPE, 'INT' =&gt; \Zend_Db::INT_TYPE, 'INTEGER' =&gt; \Zend_Db::INT_TYPE, 'BIGINT' =&gt; \Zend_Db::BIGINT_TYPE, 'INT64' =&gt; \Zend_Db::BIGINT_TYPE, 'DECIMAL' =&gt; \Zend_Db::FLOAT_TYPE, 'DOUBLE PRECISION' =&gt; \Zend_Db::FLOAT_TYPE, 'DOUBLE' =&gt; \Zend_Db::FLOAT_TYPE, 'NUMERIC' =&gt; \Zend_Db::FLOAT_TYPE, 'FLOAT' =&gt; \Zend_Db::FLOAT_TYPE)</code><div class="description"><div class="short-description">Keys are UPPERCASE SQL datatypes or the constants
Zend_Db::INT_TYPE, Zend_Db::BIGINT_TYPE, or Zend_Db::FLOAT_TYPE.</div></div><div class="code-tabs"><div class="long-description"><p>Values are:
0 = 32-bit integer
1 = 64-bit integer
2 = float or decimal</p></div><strong>Default value</strong><code>array(\Zend_Db::INT_TYPE =&gt; \Zend_Db::INT_TYPE, \Zend_Db::BIGINT_TYPE =&gt; \Zend_Db::BIGINT_TYPE, \Zend_Db::FLOAT_TYPE =&gt; \Zend_Db::FLOAT_TYPE, 'SMALLINT' =&gt; \Zend_Db::INT_TYPE, 'INT' =&gt; \Zend_Db::INT_TYPE, 'INTEGER' =&gt; \Zend_Db::INT_TYPE, 'BIGINT' =&gt; \Zend_Db::BIGINT_TYPE, 'INT64' =&gt; \Zend_Db::BIGINT_TYPE, 'DECIMAL' =&gt; \Zend_Db::FLOAT_TYPE, 'DOUBLE PRECISION' =&gt; \Zend_Db::FLOAT_TYPE, 'DOUBLE' =&gt; \Zend_Db::FLOAT_TYPE, 'NUMERIC' =&gt; \Zend_Db::FLOAT_TYPE, 'FLOAT' =&gt; \Zend_Db::FLOAT_TYPE)</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>array</dd></dl></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::$_transResource" class="anchor"></a><div class="property protected"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>\transaction <span class="highlight">$_transResource</span> = null</code><div class="description"><div class="short-description">The transaction resource.</div></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>\transaction</dd></dl></div><div class="clear"></div></div></div><h3>Methods</h3><div><a id="\ZendX_Db_Adapter_Firebird::_beginTransaction()" class="anchor"></a><div class="method protected"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img><span class="highlight">_beginTransaction</span><span class="nb-faded-text">()</span> : void</code><div class="description"><p class="short_description">Begin a transaction.</p></div><div class="code-tabs"><div class="long-description"></div></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::_commit()" class="anchor"></a><div class="method protected"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img><span class="highlight">_commit</span><span class="nb-faded-text">()</span> : void</code><div class="description"><p class="short_description">Commit a transaction.</p></div><div class="code-tabs"><div class="long-description"></div></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::_connect()" class="anchor"></a><div class="method protected"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img><span class="highlight">_connect</span><span class="nb-faded-text">()</span> : void</code><div class="description"><p class="short_description">Creates a connection to the database.</p></div><div class="code-tabs"><div class="long-description"></div><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td><a href="../files/Db.Adapter.Firebird.Exception.html#\ZendX_Db_Adapter_Firebird_Exception">\ZendX_Db_Adapter_Firebird_Exception</a></td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::_formatDbConnString()" class="anchor"></a><div class="method protected"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img><span class="highlight">_formatDbConnString</span><span class="nb-faded-text">( $host,  $port,  $dbname)</span> : void</code><div class="description"><p class="short_description">Format a connection string to connect to database</p></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$host</th><td></td><td><em></em></td></tr><tr><th>$port</th><td></td><td><em></em></td></tr><tr><th>$dbname</th><td></td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::_quote()" class="anchor"></a><div class="method protected"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img><span class="highlight">_quote</span><span class="nb-faded-text">(string $value)</span> : string</code><div class="description"><p class="short_description">Quote a raw string.</p></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$value</th><td>string</td><td><em><p>Raw string</p></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>string</td><td>Quoted string</td></tr></table></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::_rollBack()" class="anchor"></a><div class="method protected"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img><span class="highlight">_rollBack</span><span class="nb-faded-text">()</span> : void</code><div class="description"><p class="short_description">Roll-back a transaction.</p></div><div class="code-tabs"><div class="long-description"></div></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::closeConnection()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">closeConnection</span><span class="nb-faded-text">()</span> : void</code><div class="description"><p class="short_description">Force the connection to close.</p></div><div class="code-tabs"><div class="long-description"></div></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::describeTable()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">describeTable</span><span class="nb-faded-text">(string $tableName, string $schemaName = null)</span> : array</code><div class="description"><p class="short_description">Returns the column descriptions for a table.</p></div><div class="code-tabs"><div class="long-description"><p>The return value is an associative array keyed by the column name,
as returned by the RDBMS.</p>

<p>The value of each array element is an associative array
with the following keys:</p>

<p>SCHEMA_NAME      => string; name of database or schema
TABLE_NAME       => string;
COLUMN_NAME      => string; column name
COLUMN_POSITION  => number; ordinal position of column in table
DATA_TYPE        => string; SQL datatype name of column
DEFAULT          => string; default expression of column, null if none
NULLABLE         => boolean; true if column can have nulls
LENGTH           => number; length of CHAR/VARCHAR
SCALE            => number; scale of NUMERIC/DECIMAL
PRECISION        => number; precision of NUMERIC/DECIMAL
UNSIGNED         => boolean; unsigned property of an integer type
PRIMARY          => boolean; true if column is part of the primary key
PRIMARY_POSITION => integer; position of column in primary key
IDENTITY         => integer; true if column is auto-generated with unique values</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$tableName</th><td>string</td><td><em></em></td></tr><tr><th>$schemaName</th><td>string</td><td><em><p>OPTIONAL</p></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>array</td><td></td></tr></table></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::getServerVersion()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getServerVersion</span><span class="nb-faded-text">()</span> : string</code><div class="description"><p class="short_description">Retrieve server version in PHP style</p></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>string</td><td></td></tr></table></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::getTransaction()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getTransaction</span><span class="nb-faded-text">()</span> : bool</code><div class="description"><p class="short_description">Return the status of current transaction.</p></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>bool</td><td></td></tr></table></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::isConnected()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">isConnected</span><span class="nb-faded-text">()</span> : boolean</code><div class="description"><p class="short_description">Test if a connection is active</p></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>boolean</td><td></td></tr></table></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::lastInsertId()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">lastInsertId</span><span class="nb-faded-text">(string $tableName = null, string $primaryKey = null)</span> : string</code><div class="description"><p class="short_description">Gets the last ID generated automatically by an IDENTITY/AUTOINCREMENT column.</p></div><div class="code-tabs"><div class="long-description"><p>As a convention, on RDBMS brands that support sequences
(e.g. Firebird, Oracle, PostgreSQL, DB2), this method forms the name of a sequence
from the arguments and returns the last id generated by that sequence.
On RDBMS brands that support IDENTITY/AUTOINCREMENT columns, this method
returns the last value generated for such a column, and the table name
argument is disregarded.</p>

<p>Firebird does not support IDENTITY columns, so if the sequence is not
specified, this method returns null.</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$tableName</th><td>string</td><td><em><p>OPTIONAL Name of table.</p></em></td></tr><tr><th>$primaryKey</th><td>string</td><td><em><p>OPTIONAL Name of primary key column.</p></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>string</td><td></td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td><a href="../files/Db.Adapter.Firebird.Exception.html#\ZendX_Db_Adapter_Firebird_Exception">\ZendX_Db_Adapter_Firebird_Exception</a></td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::lastSequenceId()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">lastSequenceId</span><span class="nb-faded-text">(string $sequenceName)</span> : string</code><div class="description"><p class="short_description">Return the most recent value from the specified sequence in the database.</p></div><div class="code-tabs"><div class="long-description"><p>This is supported only on RDBMS brands that support sequences
(e.g. Firebird, Oracle, PostgreSQL, DB2).  Other RDBMS brands return null.</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$sequenceName</th><td>string</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>string</td><td></td></tr></table></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::limit()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">limit</span><span class="nb-faded-text">(string $sql, integer $count, integer $offset = 0)</span> : string</code><div class="description"><p class="short_description">Adds an adapter-specific LIMIT clause to the SELECT statement.</p></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$sql</th><td>string</td><td><em></em></td></tr><tr><th>$count</th><td>integer</td><td><em></em></td></tr><tr><th>$offset</th><td>integer</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>string</td><td></td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td>\Zend_Db_Adapter_Exception</td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::listTables()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">listTables</span><span class="nb-faded-text">()</span> : array</code><div class="description"><p class="short_description">Returns a list of the tables in the database.</p></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>array</td><td></td></tr></table></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::nextSequenceId()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">nextSequenceId</span><span class="nb-faded-text">(string $sequenceName)</span> : integer</code><div class="description"><p class="short_description">Generate a new value from the specified sequence in the database, and return it.</p></div><div class="code-tabs"><div class="long-description"><p>This is supported only on RDBMS brands that support sequences
(e.g. Firebird, Oracle, PostgreSQL, DB2).  Other RDBMS brands return null.</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$sequenceName</th><td>string</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>integer</td><td></td></tr></table></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::prepare()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">prepare</span><span class="nb-faded-text">(string $sql)</span> : <a href="../files/Db.Statement.Firebird.html#\ZendX_Db_Statement_Firebird">\ZendX_Db_Statement_Firebird</a></code><div class="description"><p class="short_description">Prepare a statement and return a Statement resource.</p></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$sql</th><td>string</td><td><em><p>SQL query</p></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Db.Statement.Firebird.html#\ZendX_Db_Statement_Firebird">\ZendX_Db_Statement_Firebird</a></td><td></td></tr></table></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::quoteTableAs()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">quoteTableAs</span><span class="nb-faded-text">(string | array | \Zend_Db_Expr $ident, string $alias = null, boolean $auto = false)</span> : string</code><div class="description"><p class="short_description">Quote a table identifier and alias.</p></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$ident</th><td>string | array | \Zend_Db_Expr</td><td><em><p>The identifier or expression.</p></em></td></tr><tr><th>$alias</th><td>string</td><td><em><p>An alias for the table.</p></em></td></tr><tr><th>$auto</th><td>boolean</td><td><em><p>If true, heed the AUTO_QUOTE_IDENTIFIERS config option.</p></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>string</td><td>The quoted identifier and alias.</td></tr></table></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::setFetchMode()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setFetchMode</span><span class="nb-faded-text">(int $mode)</span> : void</code><div class="description"><p class="short_description">Set the fetch mode.</p></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$mode</th><td>int</td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\ZendX_Db_Adapter_Firebird::supportsParameters()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">supportsParameters</span><span class="nb-faded-text">(string $type)</span> : bool</code><div class="description"><p class="short_description">Check if the adapter supports real SQL parameters.</p></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$type</th><td>string</td><td><em><p>'positional' or 'named'</p>
</em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>bool</td><td></td></tr></table></div><div class="clear"></div></div></div></div></div><small class="footer">
            Documentation was generated by
            <a href="http://phpdoc.org">phpDocumentor
                2.0.0a12</a>.
        </small></body></html>