mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
4b343d3c7d
commit
903324eb1c
1 changed files with 8 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue