<!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>Constants for PDO_4D</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="ref.pdo-4d.connection.html">PDO_4D DSN</a></div> <div class="next" style="text-align: right; float: right;"><a href="pdo-4d.sqltypes.html">SQL types with PDO_4D and PHP</a></div> <div class="up"><a href="ref.pdo-4d.html">4D (PDO)</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="pdo-4d.constants" class="refentry"> <div class="refnamediv"> <h1 class="refname">Constants for PDO_4D</h1> <p class="verinfo">(No version information available, might only be in SVN)</p><p class="refpurpose"><span class="refname">Constants for PDO_4D</span> — <span class="dc-title">Constants for PDO_4D</span></p> </div> <div class="refsect1 description" id="refsect1-pdo-4d.constants-description"> <h3 class="title">Predefined Constants</h3> <p class="simpara">The constants below are defined by this driver, and will only be available when the extension has been either compiled into PHP or dynamically loaded at runtime. In addition, these driver-specific constants should only be used if you are using this driver. Using driver-specific attributes with another driver may result in unexpected behaviour. <span class="function"><a href="pdo.getattribute.html" class="function">PDO::getAttribute()</a></span> may be used to obtain the <strong><code>PDO_ATTR_DRIVER_NAME</code></strong> attribute to check the driver, if your code can run against multiple drivers.</p> <dl> <dt id="pdo.constants.fourd-attr-charset"> <span class="term"> <strong><code>PDO::FOURD_ATTR_CHARSET</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <p class="para"> Change the charset in which 4D returns data. (Default is UTF-8). </p> </dd> </dt> <dt id="pdo.constants.fourd-attr-preferred-image-types"> <span class="term"> <strong><code>PDO::FOURD_ATTR_PREFERRED_IMAGE_TYPES</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <p class="para"> The requested format of the image, when selecting a row with a column type PICTURE. It may be any type that 4D supports. </p> </dd> </dt> </dl> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="ref.pdo-4d.connection.html">PDO_4D DSN</a></div> <div class="next" style="text-align: right; float: right;"><a href="pdo-4d.sqltypes.html">SQL types with PDO_4D and PHP</a></div> <div class="up"><a href="ref.pdo-4d.html">4D (PDO)</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>