PDO::FETCH_CLASS calls the magic __set method if the property doesn't

exist


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278056 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2009-03-31 07:44:43 +00:00
parent 4b343d3c7d
commit 903324eb1c

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.23 $ -->
<!-- $Revision: 1.24 $ -->
<!-- Generated by xml_proto.php v2.1. Found in /scripts directory of phpdoc. -->
<appendix xml:id="pdo.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
@ -207,6 +207,13 @@
Specifies that the fetch method shall return a new instance of the
requested class, mapping the columns to named properties in the class.
</simpara>
<note>
<simpara>
The magic
<link linkend="language.oop5.overloading.members"><methodname>__set</methodname></link>
method is called if the property doesn't exist in the requested class
</simpara>
</note>
</listitem>
</varlistentry>
<varlistentry>