vrana Tue Jan 3 17:05:21 2006 UTC
Modified files:
/phpdoc/en/reference/pdo/functions PDOStatement-fetch.xml
Log:
PDO::FETCH_CLASSTYPE
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/pdo/functions/PDOStatement-fetch.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/en/reference/pdo/functions/PDOStatement-fetch.xml
diff -u phpdoc/en/reference/pdo/functions/PDOStatement-fetch.xml:1.10
phpdoc/en/reference/pdo/functions/PDOStatement-fetch.xml:1.11
--- phpdoc/en/reference/pdo/functions/PDOStatement-fetch.xml:1.10 Wed Oct
19 20:45:02 2005
+++ phpdoc/en/reference/pdo/functions/PDOStatement-fetch.xml Tue Jan 3
17:05:21 2006
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<!-- Generated by xml_proto.php v2.1. Found in /scripts directory of phpdoc.
-->
<refentry id="function.PDOStatement-fetch">
<refnamediv>
@@ -54,7 +54,10 @@
<listitem><para>
<literal>PDO::FETCH_CLASS</literal>: returns a new instance of the
requested class, mapping the columns of the result set to named
- properties in the class
+ properties in the class. If <parameter>fetch_style</parameter>
+ includes PDO::FETCH_CLASSTYPE (e.g. <literal>PDO::FETCH_CLASS |
+ PDO::FETCH_CLASSTYPE</literal>) then the name of the class is
+ determined from a value of the first column.
</para></listitem>
<listitem><para>
<literal>PDO::FETCH_INTO</literal>: updates an existing instance