sean Fri Sep 16 13:36:10 2005 EDT
Removed files:
/phpdoc/en/reference/pdo driverconstants.xml
Modified files:
/phpdoc/en language-snippets.ent
/phpdoc/en/reference/pdo_mysql constants.xml
Log:
re-arrange this entity (using it as a file entity is confusing)
#hopefully this hasn't been translated -- changing entities is bad (sorry)
http://cvs.php.net/diff.php/phpdoc/en/language-snippets.ent?r1=1.157&r2=1.158&ty=u
Index: phpdoc/en/language-snippets.ent
diff -u phpdoc/en/language-snippets.ent:1.157
phpdoc/en/language-snippets.ent:1.158
--- phpdoc/en/language-snippets.ent:1.157 Fri Sep 16 11:00:08 2005
+++ phpdoc/en/language-snippets.ent Fri Sep 16 13:36:08 2005
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.157 $ -->
+<!-- $Revision: 1.158 $ -->
<!-- Keep 'em sorted -->
@@ -346,6 +346,16 @@
<!ENTITY note.extension.php5 '<note><simpara>
This extension requires PHP 5.</simpara></note>'>
+<!-- PDO entities -->
+<!ENTITY pdo.driver-constants '<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 mysql-specific attributes with the postgres driver may result in
+unexpected behaviour. <function>PDO::getAttribute</function> may be used to
+obtain the <constant>PDO_ATTR_DRIVER_NAME</constant> attribute to check the
+driver, if your code can run against multiple drivers.</simpara>'>
+
<!-- PECL entities -->
<!ENTITY pecl.moved 'This <ulink url="&url.pecl;">PECL</ulink> extension
is not bundled with PHP.'>
http://cvs.php.net/diff.php/phpdoc/en/reference/pdo_mysql/constants.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc/en/reference/pdo_mysql/constants.xml
diff -u phpdoc/en/reference/pdo_mysql/constants.xml:1.1
phpdoc/en/reference/pdo_mysql/constants.xml:1.2
--- phpdoc/en/reference/pdo_mysql/constants.xml:1.1 Thu Sep 15 16:57:51 2005
+++ phpdoc/en/reference/pdo_mysql/constants.xml Fri Sep 16 13:36:09 2005
@@ -1,8 +1,8 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<section id="pdo-mysql.constants">
&reftitle.constants;
- &reference.pdo.driverconstants;
+ &pdo.driver-constants;
<variablelist>
<varlistentry>
<term>