note 101079 added to pdo.constants

From: Date: Wed, 24 Nov 2010 22:47:22 +0000
Subject: note 101079 added to pdo.constants
Groups: php.notes 
Request: Send a blank email to php-notes+get-174336@lists.php.net to get a copy of this message
PDO::FETCH_PROPS_LATE can be used when fetching an object it means that the object fields will be populated with the data _after_ the constructor call. The default behaviour is constructor is called after the fields are populated. $a->setFetchMode(PDO::FETCH_CLASS|PDO::FETCH_PROPS_LATE, 'ClassName'); ---- Server IP: 69.147.83.197 Probable Submitter: 94.179.47.225 ---- Manual Page -- http://www.php.net/manual/en/pdo.constants.php Edit -- https://master.php.net/note/edit/101079 Del: integrated -- https://master.php.net/note/delete/101079/integrated Del: useless -- https://master.php.net/note/delete/101079/useless Del: bad code -- https://master.php.net/note/delete/101079/bad+code Del: spam -- https://master.php.net/note/delete/101079/spam Del: non-english -- https://master.php.net/note/delete/101079/non-english Del: in docs -- https://master.php.net/note/delete/101079/in+docs Del: other reasons-- https://master.php.net/note/delete/101079 Reject -- https://master.php.net/note/reject/101079 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#174336) next »