Location: PHPKode > projects > PHP on Trax > johnpipi-trax-f599562/trax/doc/PHPonTraxTest/_test_mockDB_DB_php.html
<html>
<head>
<title>Docs for page DB.php</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">PHPonTraxTest</td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
  		  [ <a href="../classtrees_PHPonTraxTest.html" class="menu">class tree: PHPonTraxTest</a> ]
		  [ <a href="../elementindex_PHPonTraxTest.html" class="menu">index: PHPonTraxTest</a> ]
		  [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
	<div id="todolist">
			<p><a href="../todolist.html">Todo List</a></p>
	</div>
      <b>Packages:</b><br />
              <a href="../li_PHPonTrax.html">PHPonTrax</a><br />
              <a href="../li_PHPonTraxTest.html">PHPonTraxTest</a><br />
            <br /><br />
		<b>Tutorials/Manuals:</b><br />
					<strong>Package-level:</strong>
							<ul>
	<li type="square"><a href="../PHPonTraxTest/tutorial_PHPonTraxTest.pkg.html">PHP On Trax Test</a>
</ul>


									                        <b>Files:</b><br />
      	  <div class="package">
			<a href="../PHPonTraxTest/_test_ActionControllerErrorTest_php.html">		ActionControllerErrorTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_ActionControllerTest_php.html">		ActionControllerTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_ActionMailerTest_php.html">		ActionMailerTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_mockActionController_action_controller_php.html">		action_controller.php
		</a><br>
			<a href="../PHPonTraxTest/_test_ActiveRecordErrorTest_php.html">		ActiveRecordErrorTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_ActiveRecordHelperTest_php.html">		ActiveRecordHelperTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_ActiveRecordTest_php.html">		ActiveRecordTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_mockActiveRecord_active_record_php.html">		active_record.php
		</a><br>
			<a href="../PHPonTraxTest/_test_controllers_application_php.html">		application.php
		</a><br>
			<a href="../PHPonTraxTest/_test_ApplicationControllerTest_php.html">		ApplicationControllerTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_ApplicationMailerTest_php.html">		ApplicationMailerTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_AssetTagHelperTest_php.html">		AssetTagHelperTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_controllers_catalog_controller_php.html">		catalog_controller.php
		</a><br>
			<a href="../PHPonTraxTest/_test_DateHelperTest_php.html">		DateHelperTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_mockDB_DB_php.html">		DB.php
		</a><br>
			<a href="../PHPonTraxTest/_test_DispatcherTest_php.html">		DispatcherTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_FormHelperTest_php.html">		FormHelperTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_FormOptionsHelperTest_php.html">		FormOptionsHelperTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_FormTagHelperTest_php.html">		FormTagHelperTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_HelpersTest_php.html">		HelpersTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_InflectorTest_php.html">		InflectorTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_InputFilterTest_php.html">		InputFilterTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_JavaScriptHelperTest_php.html">		JavaScriptHelperTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_controllers_noclass_controller_php.html">		noclass_controller.php
		</a><br>
			<a href="../PHPonTraxTest/_test_RouterTest_php.html">		RouterTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_config_routes_php.html">		routes.php
		</a><br>
			<a href="../PHPonTraxTest/_test_runtests_php.html">		runtests.php
		</a><br>
			<a href="../PHPonTraxTest/_test_ScaffoldControllerTest_php.html">		ScaffoldControllerTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_SessionTest_php.html">		SessionTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_testenv_php.html">		testenv.php
		</a><br>
			<a href="../PHPonTraxTest/_test_TraxErrorTest_php.html">		TraxErrorTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_TraxGeneratorTest_php.html">		TraxGeneratorTest.php
		</a><br>
			<a href="../PHPonTraxTest/_test_UrlHelperTest_php.html">		UrlHelperTest.php
		</a><br>
	  </div><br />

      
            <b>Classes:</b><br />
        <div class="package">
		    		<a href="../PHPonTraxTest/ActionController.html">ActionController</a><br />
	    		<a href="../PHPonTraxTest/ActionControllerErrorTest.html">ActionControllerErrorTest</a><br />
	    		<a href="../PHPonTraxTest/ActionControllerTest.html">ActionControllerTest</a><br />
	    		<a href="../PHPonTraxTest/ActionMailerTest.html">ActionMailerTest</a><br />
	    		<a href="../PHPonTraxTest/ActiveRecord.html">ActiveRecord</a><br />
	    		<a href="../PHPonTraxTest/ActiveRecordErrorTest.html">ActiveRecordErrorTest</a><br />
	    		<a href="../PHPonTraxTest/ActiveRecordHelperTest.html">ActiveRecordHelperTest</a><br />
	    		<a href="../PHPonTraxTest/ActiveRecordTest.html">ActiveRecordTest</a><br />
	    		<a href="../PHPonTraxTest/ApplicationControllerTest.html">ApplicationControllerTest</a><br />
	    		<a href="../PHPonTraxTest/ApplicationMailerTest.html">ApplicationMailerTest</a><br />
	    		<a href="../PHPonTraxTest/AssetTagHelperTest.html">AssetTagHelperTest</a><br />
	    		<a href="../PHPonTraxTest/CatalogController.html">CatalogController</a><br />
	    		<a href="../PHPonTraxTest/DataType.html">DataType</a><br />
	    		<a href="../PHPonTraxTest/DateHelperTest.html">DateHelperTest</a><br />
	    		<a href="../PHPonTraxTest/DB.html">DB</a><br />
	    		<a href="../PHPonTraxTest/DB_common.html">DB_common</a><br />
	    		<a href="../PHPonTraxTest/DB_Error.html">DB_Error</a><br />
	    		<a href="../PHPonTraxTest/DB_find_all_result.html">DB_find_all_result</a><br />
	    		<a href="../PHPonTraxTest/DB_mysql.html">DB_mysql</a><br />
	    		<a href="../PHPonTraxTest/DB_result.html">DB_result</a><br />
	    		<a href="../PHPonTraxTest/DB_row.html">DB_row</a><br />
	    		<a href="../PHPonTraxTest/DispatcherTest.html">DispatcherTest</a><br />
	    		<a href="../PHPonTraxTest/DummyController.html">DummyController</a><br />
	    		<a href="../PHPonTraxTest/ExDateHelper.html">ExDateHelper</a><br />
	    		<a href="../PHPonTraxTest/ExtHelpers.html">ExtHelpers</a><br />
	    		<a href="../PHPonTraxTest/FormHelperTest.html">FormHelperTest</a><br />
	    		<a href="../PHPonTraxTest/FormOptionsHelperTest.html">FormOptionsHelperTest</a><br />
	    		<a href="../PHPonTraxTest/FormTagHelperTest.html">FormTagHelperTest</a><br />
	    		<a href="../PHPonTraxTest/HelpersTest.html">HelpersTest</a><br />
	    		<a href="../PHPonTraxTest/InflectorTest.html">InflectorTest</a><br />
	    		<a href="../PHPonTraxTest/InputFilterTest.html">InputFilterTest</a><br />
	    		<a href="../PHPonTraxTest/JavaScriptHelperTest.html">JavaScriptHelperTest</a><br />
	    		<a href="../PHPonTraxTest/PersonName.html">PersonName</a><br />
	    		<a href="../PHPonTraxTest/RouterTest.html">RouterTest</a><br />
	    		<a href="../PHPonTraxTest/ScaffoldControllerTest.html">ScaffoldControllerTest</a><br />
	    		<a href="../PHPonTraxTest/SessionTest.html">SessionTest</a><br />
	    		<a href="../PHPonTraxTest/TraxErrorTest.html">TraxErrorTest</a><br />
	    		<a href="../PHPonTraxTest/TraxGeneratorTest.html">TraxGeneratorTest</a><br />
	    		<a href="../PHPonTraxTest/UrlHelperTest.html">UrlHelperTest</a><br />
	  </div>

                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Procedural File: DB.php</h1>
Source Location: /test/mockDB/DB.php<br /><br />

<br>
<br>

<div class="contents">
<h2>Classes:</h2>
<dt><a href="../PHPonTraxTest/DB.html">DB</a></dt>
	<dd>Mock DB class for testing</dd>
<dt><a href="../PHPonTraxTest/DB_common.html">DB_common</a></dt>
	<dd>Mock DB_common for testing</dd>
<dt><a href="../PHPonTraxTest/DB_Error.html">DB_Error</a></dt>
	<dd>Mock DB_Error</dd>
<dt><a href="../PHPonTraxTest/DB_result.html">DB_result</a></dt>
	<dd>Mock DB_result</dd>
<dt><a href="../PHPonTraxTest/DB_row.html">DB_row</a></dt>
	<dd>Mock DB_row</dd>
<dt><a href="../PHPonTraxTest/DB_mysql.html">DB_mysql</a></dt>
	<dd>Mock DB_mysql class</dd>
</div><br /><br />

<h2>Page Details:</h2>
File for mock DB class<br /><br /><p>This file has the same name as the file holding the <a href="http://pear.php.net/package/DB">PEAR DB class</a>.   To use the mock DB, put this file in the PHP include path ahead of   the PEAR library, so that any class which requires DB.php will   load this version.</p><p>(PHP 5)</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>filesource:</b>&nbsp;&nbsp;</td><td><a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html">Source Code for this file</a></td>
  </tr>
  <tr>
    <td><b>author:</b>&nbsp;&nbsp;</td><td>Walt Haas &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</td>
  </tr>
  <tr>
    <td><b>version:</b>&nbsp;&nbsp;</td><td>$Id: DB.php 198 2006-04-20 16:20:30Z haas $</td>
  </tr>
  <tr>
    <td><b>copyright:</b>&nbsp;&nbsp;</td><td>(c) Walter O. Haas 2006</td>
  </tr>
  <tr>
    <td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://opensource.org/licenses/gpl-license.php">GNU Public License</a></td>
  </tr>
</table>
</div>
<br /><br />
<h4>Includes:</h4>
<div class="tags">
require_once('PHPUnit2/Framework/Assert.php') [line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a21">21</a>]<br />
require_once('PEAR.php') [line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a20">20</a>]<br />
</div>
<br /><br />
<br /><br />
  <hr />
	<a name="defineDB_AUTOQUERY_INSERT"></a>
	<h3>DB_AUTOQUERY_INSERT <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a251">251</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_AUTOQUERY_INSERT = 1</code>
    </td></tr></table>
    </td></tr></table>

    The type of query to create with the automatic query building methods.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>see:</b>&nbsp;&nbsp;</td><td>autoPrepare(), autoExecute()</td>
  </tr>
</table>
</div>
    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_AUTOQUERY_UPDATE"></a>
	<h3>DB_AUTOQUERY_UPDATE <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a252">252</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_AUTOQUERY_UPDATE = 2</code>
    </td></tr></table>
    </td></tr></table>

        <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_BINMODE_CONVERT"></a>
	<h3>DB_BINMODE_CONVERT <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a209">209</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_BINMODE_CONVERT = 3</code>
    </td></tr></table>
    </td></tr></table>

    Converts the data to hex format before returning it<br /><br /><p>For example the string &quot;123&quot; would become &quot;313233&quot;.</p><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_BINMODE_PASSTHRU"></a>
	<h3>DB_BINMODE_PASSTHRU <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a197">197</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_BINMODE_PASSTHRU = 1</code>
    </td></tr></table>
    </td></tr></table>

    Sends the fetched data straight through to output<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_BINMODE_RETURN"></a>
	<h3>DB_BINMODE_RETURN <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a202">202</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_BINMODE_RETURN = 2</code>
    </td></tr></table>
    </td></tr></table>

    Lets you return data as usual<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR"></a>
	<h3>DB_ERROR <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a31">31</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR = -1</code>
    </td></tr></table>
    </td></tr></table>

    Unkown error<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_ACCESS_VIOLATION"></a>
	<h3>DB_ERROR_ACCESS_VIOLATION <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a151">151</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_ACCESS_VIOLATION = -26</code>
    </td></tr></table>
    </td></tr></table>

    The present user has inadequate permissions to perform the task requestd<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_ALREADY_EXISTS"></a>
	<h3>DB_ERROR_ALREADY_EXISTS <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a51">51</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_ALREADY_EXISTS = -5</code>
    </td></tr></table>
    </td></tr></table>

    Tried to create a duplicate object<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_CANNOT_CREATE"></a>
	<h3>DB_ERROR_CANNOT_CREATE <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a101">101</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_CANNOT_CREATE = -15</code>
    </td></tr></table>
    </td></tr></table>

    Could not create the object requested<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_CANNOT_DROP"></a>
	<h3>DB_ERROR_CANNOT_DROP <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a106">106</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_CANNOT_DROP = -17</code>
    </td></tr></table>
    </td></tr></table>

    Could not drop the database requested because it does not exist<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_CONNECT_FAILED"></a>
	<h3>DB_ERROR_CONNECT_FAILED <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a141">141</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_CONNECT_FAILED = -24</code>
    </td></tr></table>
    </td></tr></table>

    Could not connect to the database<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_CONSTRAINT"></a>
	<h3>DB_ERROR_CONSTRAINT <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a41">41</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_CONSTRAINT = -3</code>
    </td></tr></table>
    </td></tr></table>

    Tried to insert a duplicate value into a primary or unique index<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_CONSTRAINT_NOT_NULL"></a>
	<h3>DB_ERROR_CONSTRAINT_NOT_NULL <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a161">161</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_CONSTRAINT_NOT_NULL = -29</code>
    </td></tr></table>
    </td></tr></table>

    Tried to insert a null value into a column that doesn't allow nulls<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_DIVZERO"></a>
	<h3>DB_ERROR_DIVZERO <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a91">91</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_DIVZERO = -13</code>
    </td></tr></table>
    </td></tr></table>

    Attempt to divide something by zero<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_EXTENSION_NOT_FOUND"></a>
	<h3>DB_ERROR_EXTENSION_NOT_FOUND <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a146">146</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_EXTENSION_NOT_FOUND = -25</code>
    </td></tr></table>
    </td></tr></table>

    The PHP extension needed for this DBMS could not be found<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_INVALID"></a>
	<h3>DB_ERROR_INVALID <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a66">66</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_INVALID = -8</code>
    </td></tr></table>
    </td></tr></table>

    A literal submitted did not match the data type expected<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_INVALID_DATE"></a>
	<h3>DB_ERROR_INVALID_DATE <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a86">86</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_INVALID_DATE = -12</code>
    </td></tr></table>
    </td></tr></table>

    A literal date submitted did not match the data type expected<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_INVALID_DSN"></a>
	<h3>DB_ERROR_INVALID_DSN <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a136">136</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_INVALID_DSN = -23</code>
    </td></tr></table>
    </td></tr></table>

    The DSN submitted has problems<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_INVALID_NUMBER"></a>
	<h3>DB_ERROR_INVALID_NUMBER <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a81">81</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_INVALID_NUMBER = -11</code>
    </td></tr></table>
    </td></tr></table>

    A literal number submitted did not match the data type expected<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_MISMATCH"></a>
	<h3>DB_ERROR_MISMATCH <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a61">61</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_MISMATCH = -7</code>
    </td></tr></table>
    </td></tr></table>

    The number of parameters does not match the number of placeholders<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_NEED_MORE_DATA"></a>
	<h3>DB_ERROR_NEED_MORE_DATA <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a121">121</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_NEED_MORE_DATA = -20</code>
    </td></tr></table>
    </td></tr></table>

    The data submitted to the method was inappropriate<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_NODBSELECTED"></a>
	<h3>DB_ERROR_NODBSELECTED <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a96">96</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_NODBSELECTED = -14</code>
    </td></tr></table>
    </td></tr></table>

    A database needs to be selected<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_NOSUCHDB"></a>
	<h3>DB_ERROR_NOSUCHDB <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a156">156</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_NOSUCHDB = -27</code>
    </td></tr></table>
    </td></tr></table>

    The database requested does not exist<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_NOSUCHFIELD"></a>
	<h3>DB_ERROR_NOSUCHFIELD <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a116">116</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_NOSUCHFIELD = -19</code>
    </td></tr></table>
    </td></tr></table>

    An identifier in the query refers to a non-existant column<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_NOSUCHTABLE"></a>
	<h3>DB_ERROR_NOSUCHTABLE <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a111">111</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_NOSUCHTABLE = -18</code>
    </td></tr></table>
    </td></tr></table>

    An identifier in the query refers to a non-existant table<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_NOT_CAPABLE"></a>
	<h3>DB_ERROR_NOT_CAPABLE <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a71">71</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_NOT_CAPABLE = -9</code>
    </td></tr></table>
    </td></tr></table>

    The current DBMS does not support the action you attempted<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_NOT_FOUND"></a>
	<h3>DB_ERROR_NOT_FOUND <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a46">46</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_NOT_FOUND = -4</code>
    </td></tr></table>
    </td></tr></table>

    An identifier in the query refers to a non-existant object<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_NOT_LOCKED"></a>
	<h3>DB_ERROR_NOT_LOCKED <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a126">126</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_NOT_LOCKED = -21</code>
    </td></tr></table>
    </td></tr></table>

    The attempt to lock the table failed<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_SYNTAX"></a>
	<h3>DB_ERROR_SYNTAX <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a36">36</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_SYNTAX = -2</code>
    </td></tr></table>
    </td></tr></table>

    Syntax error<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_TRUNCATED"></a>
	<h3>DB_ERROR_TRUNCATED <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a76">76</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_TRUNCATED = -10</code>
    </td></tr></table>
    </td></tr></table>

    A literal submitted was too long so the end of it was removed<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_UNSUPPORTED"></a>
	<h3>DB_ERROR_UNSUPPORTED <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a56">56</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_UNSUPPORTED = -6</code>
    </td></tr></table>
    </td></tr></table>

    The current driver does not support the action you attempted<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_ERROR_VALUE_COUNT_ON_ROW"></a>
	<h3>DB_ERROR_VALUE_COUNT_ON_ROW <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a131">131</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_ERROR_VALUE_COUNT_ON_ROW = -22</code>
    </td></tr></table>
    </td></tr></table>

    The number of columns doesn't match the number of values<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_FETCHMODE_ASSOC"></a>
	<h3>DB_FETCHMODE_ASSOC <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a216">216</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_FETCHMODE_ASSOC = 2</code>
    </td></tr></table>
    </td></tr></table>

        <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_FETCHMODE_DEFAULT"></a>
	<h3>DB_FETCHMODE_DEFAULT <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a214">214</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_FETCHMODE_DEFAULT = 0</code>
    </td></tr></table>
    </td></tr></table>

    Fetchmode constants<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_FETCHMODE_FLIPPED"></a>
	<h3>DB_FETCHMODE_FLIPPED <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a226">226</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_FETCHMODE_FLIPPED = 4</code>
    </td></tr></table>
    </td></tr></table>

    For multi-dimensional results, make the column name the first level  of the array and put the row number in the second level of the array<br /><br /><p>This is flipped from the normal behavior, which puts the row numbers  in the first level of the array and the column names in the second level.</p><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_FETCHMODE_OBJECT"></a>
	<h3>DB_FETCHMODE_OBJECT <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a217">217</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_FETCHMODE_OBJECT = 3</code>
    </td></tr></table>
    </td></tr></table>

        <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_FETCHMODE_ORDERED"></a>
	<h3>DB_FETCHMODE_ORDERED <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a215">215</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_FETCHMODE_ORDERED = 1</code>
    </td></tr></table>
    </td></tr></table>

        <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_GETMODE_ASSOC"></a>
	<h3>DB_GETMODE_ASSOC <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a232">232</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_GETMODE_ASSOC = DB_FETCHMODE_ASSOC</code>
    </td></tr></table>
    </td></tr></table>

        <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_GETMODE_FLIPPED"></a>
	<h3>DB_GETMODE_FLIPPED <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a233">233</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_GETMODE_FLIPPED = DB_FETCHMODE_FLIPPED</code>
    </td></tr></table>
    </td></tr></table>

        <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_GETMODE_ORDERED"></a>
	<h3>DB_GETMODE_ORDERED <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a231">231</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_GETMODE_ORDERED = DB_FETCHMODE_ORDERED</code>
    </td></tr></table>
    </td></tr></table>

    Old fetch modes.  Left here for compatibility.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_OK"></a>
	<h3>DB_OK <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a26">26</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_OK = 1</code>
    </td></tr></table>
    </td></tr></table>

    The code returned by many methods upon success<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_PARAM_MISC"></a>
	<h3>DB_PARAM_MISC <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a188">188</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_PARAM_MISC = 3</code>
    </td></tr></table>
    </td></tr></table>

    Indicates a misc (<kbd>!</kbd>) placeholder was used<br /><br /><p>The value should not be quoted or escaped.</p><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_PARAM_OPAQUE"></a>
	<h3>DB_PARAM_OPAQUE <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a181">181</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_PARAM_OPAQUE = 2</code>
    </td></tr></table>
    </td></tr></table>

    Indicates an opaque (<kbd>&amp;</kbd>) placeholder was used<br /><br /><p>The value presented is a file name.  Extract the contents of that file  and place them in this column.</p><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_PARAM_SCALAR"></a>
	<h3>DB_PARAM_SCALAR <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a173">173</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_PARAM_SCALAR = 1</code>
    </td></tr></table>
    </td></tr></table>

    Indicates a scalar (<kbd>?</kbd>) placeholder was used<br /><br /><p>Quote and escape the value as necessary.</p><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_PORTABILITY_ALL"></a>
	<h3>DB_PORTABILITY_ALL <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a311">311</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_PORTABILITY_ALL = 63</code>
    </td></tr></table>
    </td></tr></table>

    Turn on all portability features<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_PORTABILITY_DELETE_COUNT"></a>
	<h3>DB_PORTABILITY_DELETE_COUNT <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a282">282</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_PORTABILITY_DELETE_COUNT = 4</code>
    </td></tr></table>
    </td></tr></table>

    Force reporting the number of rows deleted<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_PORTABILITY_ERRORS"></a>
	<h3>DB_PORTABILITY_ERRORS <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a300">300</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_PORTABILITY_ERRORS = 16</code>
    </td></tr></table>
    </td></tr></table>

    Makes certain error messages in certain drivers compatible  with those from other DBMS's<br /><br /><p><ul><li>mysql, mysqli:  change unique/primary key constraints
   DB_ERROR_ALREADY_EXISTS -&gt; DB_ERROR_CONSTRAINT</li></ul> <ul><li>odbc(access):  MS's ODBC driver reports 'no such field' as code
   07001, which means 'too few parameters.'  When this option is on
   that code gets mapped to DB_ERROR_NOSUCHFIELD.</li></ul></p><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_PORTABILITY_LOWERCASE"></a>
	<h3>DB_PORTABILITY_LOWERCASE <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a272">272</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_PORTABILITY_LOWERCASE = 1</code>
    </td></tr></table>
    </td></tr></table>

    Convert names of tables and fields to lower case<br /><br /><p>when using the get*(), fetch*() and tableInfo() methods</p><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_PORTABILITY_NONE"></a>
	<h3>DB_PORTABILITY_NONE <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a266">266</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_PORTABILITY_NONE = 0</code>
    </td></tr></table>
    </td></tr></table>

    Turn off all portability features<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_PORTABILITY_NULL_TO_EMPTY"></a>
	<h3>DB_PORTABILITY_NULL_TO_EMPTY <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a306">306</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_PORTABILITY_NULL_TO_EMPTY = 32</code>
    </td></tr></table>
    </td></tr></table>

    Convert null values to empty strings in data output by<br /><br /><p>get*() and fetch*()</p><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_PORTABILITY_NUMROWS"></a>
	<h3>DB_PORTABILITY_NUMROWS <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a287">287</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_PORTABILITY_NUMROWS = 8</code>
    </td></tr></table>
    </td></tr></table>

    Enable hack that makes numRows() work in Oracle<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_PORTABILITY_RTRIM"></a>
	<h3>DB_PORTABILITY_RTRIM <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a277">277</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_PORTABILITY_RTRIM = 2</code>
    </td></tr></table>
    </td></tr></table>

    Right trim the data output by get*() and fetch*()<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_TABLEINFO_FULL"></a>
	<h3>DB_TABLEINFO_FULL <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a245">245</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_TABLEINFO_FULL = 3</code>
    </td></tr></table>
    </td></tr></table>

        <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_TABLEINFO_ORDER"></a>
	<h3>DB_TABLEINFO_ORDER <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a243">243</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_TABLEINFO_ORDER = 1</code>
    </td></tr></table>
    </td></tr></table>

    The type of information to return from the tableInfo() method.<br /><br /><p>Bitwised constants, so they can be combined using <kbd>|</kbd>  and removed using <kbd>^</kbd>.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>see:</b>&nbsp;&nbsp;</td><td>tableInfo()</td>
  </tr>
</table>
</div>
    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDB_TABLEINFO_ORDERTABLE"></a>
	<h3>DB_TABLEINFO_ORDERTABLE <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testmockDBDB.php.html#a244">244</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DB_TABLEINFO_ORDERTABLE = 2</code>
    </td></tr></table>
    </td></tr></table>

        <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<br />

        <div class="credit">
		    <hr />
		    Documentation generated on Thu, 04 May 2006 19:47:27 -0600 by <a href="http://www.phpdoc.org">phpDocumentor 1.3.0RC4</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>
Return current item: PHP on Trax