<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Predefined Constants</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="ingres.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="ingres.examples.html">Examples</a></div> <div class="up"><a href="book.ingres.html">Ingres</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="ingres.constants" class="appendix"> <h1>Predefined Constants</h1> <p class="simpara"> The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime. </p> <dl> <dt id="constant.ingres-assoc"> <span class="term"> <strong><code>INGRES_ASSOC</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Columns are returned into the array having the fieldname as the array index. Used with <span class="function"><a href="function.ingres-fetch-array.html" class="function">ingres_fetch_array()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-num"> <span class="term"> <strong><code>INGRES_NUM</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Columns are returned into the array having a numerical index to the fields. By default this index starts at 1, the first field in the result. To change this value, see <a href="ingres.configuration.html#ini.ingres.array-index-start" class="link">ingres.array_index_start</a>. Used with <span class="function"><a href="function.ingres-fetch-array.html" class="function">ingres_fetch_array()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-both"> <span class="term"> <strong><code>INGRES_BOTH</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Columns are returned into the array having both a numerical index and the fieldname as the array index. Used with <span class="function"><a href="function.ingres-fetch-array.html" class="function">ingres_fetch_array()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-ext-version"> <span class="term"> <strong><code>INGRES_EXT_VERSION</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"> Specifies the version of the Ingres Extension. Available since version 1.2.0 of the PECL extension. </span> </dd> </dt> <dt id="constant.ingres-api-version"> <span class="term"> <strong><code>INGRES_API_VERSION</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Specifies the version of Ingres OpenAPI that the extension was built against. Available since version 1.2.0 of the PECL extension. </span> </dd> </dt> <dt id="constant.ingres-cursor-readonly"> <span class="term"> <strong><code>INGRES_CURSOR_READONLY</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Specifies that Ingres cursors should be opened in "readonly" mode. Available since version 1.2.0 of the PECL extension. Used with <a href="ingres.configuration.html#ini.ingres.cursor-mode" class="link">ingres.cursor_mode</a>. </span> </dd> </dt> <dt id="constant.ingres-cursor-update"> <span class="term"> <strong><code>INGRES_CURSOR_UPDATE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Specifies that Ingres cursors should be opened "for update." Available since version 1.2.0 of the PECL extension. Used with <a href="ingres.configuration.html#ini.ingres.cursor-mode" class="link">ingres.cursor_mode</a>. </span> </dd> </dt> <dt id="constant.ingres-date-multinational"> <span class="term"> <strong><code>INGRES_DATE_MULTINATIONAL</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Equivalent to the II_DATE_FORMAT setting of MULTINATIONAL. Available since version 1.2.0 of the PECL extension. Used with <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span>, <span class="function"><a href="function.ingres-pconnect.html" class="function">ingres_pconnect()</a></span> and <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. See <a href="function.ingres-set-environment.html#function.ingres-set-environment.options" class="link">options</a> in <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-date-multinational4"> <span class="term"> <strong><code>INGRES_DATE_MULTINATIONAL4</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Equivalent to the II_DATE_FORMAT setting of MULTINATIONAL4. Available since version 1.2.0 of the PECL extension. Used with <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span>, <span class="function"><a href="function.ingres-pconnect.html" class="function">ingres_pconnect()</a></span> and <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. See <a href="function.ingres-set-environment.html#function.ingres-set-environment.options" class="link">options</a> in <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-date-finnish"> <span class="term"> <strong><code>INGRES_DATE_FINNISH</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Equivalent to the II_DATE_FORMAT setting of FINNISH. Available since version 1.2.0 of the PECL extension. Used with <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span>, <span class="function"><a href="function.ingres-pconnect.html" class="function">ingres_pconnect()</a></span> and <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. See <a href="function.ingres-set-environment.html#function.ingres-set-environment.options" class="link">options</a> in <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-date-iso"> <span class="term"> <strong><code>INGRES_DATE_ISO</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Equivalent to the II_DATE_FORMAT setting of ISO. Available since version 1.2.0 of the PECL extension. Used with <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span>, <span class="function"><a href="function.ingres-pconnect.html" class="function">ingres_pconnect()</a></span> and <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. See <a href="function.ingres-set-environment.html#function.ingres-set-environment.options" class="link">options</a> in <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-date-iso4"> <span class="term"> <strong><code>INGRES_DATE_ISO4</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Equivalent to the II_DATE_FORMAT setting of ISO4. Available since version 1.2.0 of the PECL extension. Used with <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span>, <span class="function"><a href="function.ingres-pconnect.html" class="function">ingres_pconnect()</a></span> and <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. See <a href="function.ingres-set-environment.html#function.ingres-set-environment.options" class="link">options</a> in <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-date-german"> <span class="term"> <strong><code>INGRES_DATE_GERMAN</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Equivalent to the II_DATE_FORMAT setting of GERMAN. Available since version 1.2.0 of the PECL extension. Used with <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span>, <span class="function"><a href="function.ingres-pconnect.html" class="function">ingres_pconnect()</a></span> and <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. See <a href="function.ingres-set-environment.html#function.ingres-set-environment.options" class="link">options</a> in <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-date-mdy"> <span class="term"> <strong><code>INGRES_DATE_MDY</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Equivalent to the II_DATE_FORMAT setting of MDY. Available since version 1.2.0 of the PECL extension. Used with <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span>, <span class="function"><a href="function.ingres-pconnect.html" class="function">ingres_pconnect()</a></span> and <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. See <a href="function.ingres-set-environment.html#function.ingres-set-environment.options" class="link">options</a> in <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-date-dmy"> <span class="term"> <strong><code>INGRES_DATE_DMY</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Equivalent to the II_DATE_FORMAT setting of DMY. Available since version 1.2.0 of the PECL extension. Used with <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span>, <span class="function"><a href="function.ingres-pconnect.html" class="function">ingres_pconnect()</a></span> and <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. See <a href="function.ingres-set-environment.html#function.ingres-set-environment.options" class="link">options</a> in <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-date-ymd"> <span class="term"> <strong><code>INGRES_DATE_YMD</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Equivalent to the II_DATE_FORMAT setting of YMD. Available since version 1.2.0 of the PECL extension. Used with <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span>, <span class="function"><a href="function.ingres-pconnect.html" class="function">ingres_pconnect()</a></span> and <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. See <a href="function.ingres-set-environment.html#function.ingres-set-environment.options" class="link">options</a> in <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-money-leading"> <span class="term"> <strong><code>INGRES_MONEY_LEADING</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Specifies the currency character that should be placed at the start of a money value. Equivalent to setting II_MONEY_FORMAT to "L:". Available since version 1.2.0 of the PECL extension. Used with <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span>, <span class="function"><a href="function.ingres-pconnect.html" class="function">ingres_pconnect()</a></span> and <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. See <a href="function.ingres-set-environment.html#function.ingres-set-environment.options" class="link">options</a> in <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-money-trailing"> <span class="term"> <strong><code>INGRES_MONEY_TRAILING</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Specifies the currency character that should be placed at the end of a money value. Equivalent to setting II_MONEY_FORMAT to "T:". Available since version 1.2.0 of the PECL extension. Used with <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span>, <span class="function"><a href="function.ingres-pconnect.html" class="function">ingres_pconnect()</a></span> and <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. See <a href="function.ingres-set-environment.html#function.ingres-set-environment.options" class="link">options</a> in <span class="function"><a href="function.ingres-set-environment.html" class="function">ingres_set_environment()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-structure-btree"> <span class="term"> <strong><code>INGRES_STRUCTURE_BTREE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Specifies the default table or index structure to BTREE when used in combination with the options or index_structure option when connecting. Available since version 1.4.0 of the PECL extension. Used with <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span> and <span class="function"><a href="function.ingres-pconnect.html" class="function">ingres_pconnect()</a></span>. See <a href="function.ingres-connect.html#function.ingres-connect.options" class="link">options</a> in <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-structure-cbtree"> <span class="term"> <strong><code>INGRES_STRUCTURE_CBTREE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Specifies the default table or index structure to COMPRESSED BTREE when used in combination with the options or index_structure option when connecting. Available since version 1.4.0 of the PECL extension. Used with <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span> and <span class="function"><a href="function.ingres-pconnect.html" class="function">ingres_pconnect()</a></span>. See <a href="function.ingres-connect.html#function.ingres-connect.options" class="link">options</a> in <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-structure-hash"> <span class="term"> <strong><code>INGRES_STRUCTURE_HASH</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Specifies the default table or index structure to HASH when used in combination with the options or index_structure option when connecting. Available since version 1.4.0 of the PECL extension. Used with <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span> and <span class="function"><a href="function.ingres-pconnect.html" class="function">ingres_pconnect()</a></span>. See <a href="function.ingres-connect.html#function.ingres-connect.options" class="link">options</a> in <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-structure-chash"> <span class="term"> <strong><code>INGRES_STRUCTURE_CHASH</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Specifies the default table or index structure to COMPRESSED HASH when used in combination with the options or index_structure option when connecting. Available since version 1.4.0 of the PECL extension. Used with <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span> and <span class="function"><a href="function.ingres-pconnect.html" class="function">ingres_pconnect()</a></span>. See <a href="function.ingres-connect.html#function.ingres-connect.options" class="link">options</a> in <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-structure-heap"> <span class="term"> <strong><code>INGRES_STRUCTURE_HEAP</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Specifies the default table structure to HEAP when used in combination with the options option when connecting. Available since version 1.4.0 of the PECL extension. Used with <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span> and <span class="function"><a href="function.ingres-pconnect.html" class="function">ingres_pconnect()</a></span>. See <a href="function.ingres-connect.html#function.ingres-connect.options" class="link">options</a> in <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-structure-cheap"> <span class="term"> <strong><code>INGRES_STRUCTURE_CHEAP</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Specifies the default table structure to COMPRESSED HEAP when used in combination with the options option when connecting. Available since version 1.4.0 of the PECL extension. Used with <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span> and <span class="function"><a href="function.ingres-pconnect.html" class="function">ingres_pconnect()</a></span>. See <a href="function.ingres-connect.html#function.ingres-connect.options" class="link">options</a> in <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-structure-isam"> <span class="term"> <strong><code>INGRES_STRUCTURE_ISAM</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Specifies the default table or index structure to ISAM when used in combination with the options or index_structure option when connecting. Available since version 1.4.0 of the PECL extension. Used with <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span> and <span class="function"><a href="function.ingres-pconnect.html" class="function">ingres_pconnect()</a></span>. See <a href="function.ingres-connect.html#function.ingres-connect.options" class="link">options</a> in <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span>. </span> </dd> </dt> <dt id="constant.ingres-structure-cisam"> <span class="term"> <strong><code>INGRES_STRUCTURE_CISAM</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Specifies the default table or index structure to COMPRESSED ISAM when used in combination with the options or index_structure option when connecting. Available since version 1.4.0 of the PECL extension. Used with <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span> and <span class="function"><a href="function.ingres-pconnect.html" class="function">ingres_pconnect()</a></span>. See <a href="function.ingres-connect.html#function.ingres-connect.options" class="link">options</a> in <span class="function"><a href="function.ingres-connect.html" class="function">ingres_connect()</a></span>. </span> </dd> </dt> </dl> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="ingres.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="ingres.examples.html">Examples</a></div> <div class="up"><a href="book.ingres.html">Ingres</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>