From 903324eb1ca10df773511da5889be4825ebe1d76 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Tue, 31 Mar 2009 07:44:43 +0000 Subject: [PATCH] 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 --- reference/pdo/constants.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/reference/pdo/constants.xml b/reference/pdo/constants.xml index 81529b77ee..0dc6a7fcd3 100644 --- a/reference/pdo/constants.xml +++ b/reference/pdo/constants.xml @@ -1,5 +1,5 @@ - + &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. + + + The magic + __set + method is called if the property doesn't exist in the requested class + +