cvs: peardoc /en/package/database/db-dataobject/db-dataobject setfrom.xml

From: Date: Thu, 05 Feb 2004 15:37:14 +0000
Subject: cvs: peardoc /en/package/database/db-dataobject/db-dataobject setfrom.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-2425@lists.php.net to get a copy of this message
alan_k Thu Feb 5 10:37:14 2004 EDT Modified files: /peardoc/en/package/database/db-dataobject/db-dataobject setfrom.xml Log: update notes on setFrom http://cvs.php.net/diff.php/peardoc/en/package/database/db-dataobject/db-dataobject/setfrom.xml?r1=1.6&r2=1.7&ty=u Index: peardoc/en/package/database/db-dataobject/db-dataobject/setfrom.xml diff -u peardoc/en/package/database/db-dataobject/db-dataobject/setfrom.xml:1.6 peardoc/en/package/database/db-dataobject/db-dataobject/setfrom.xml:1.7 --- peardoc/en/package/database/db-dataobject/db-dataobject/setfrom.xml:1.6 Wed Aug 13 12:01:02 2003 +++ peardoc/en/package/database/db-dataobject/db-dataobject/setfrom.xml Thu Feb 5 10:37:14 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="package.database.db-dataobject.db-dataobject.setfrom"> <refnamediv> <refname>-&gt;setFrom()</refname> @@ -28,6 +28,16 @@ or cloning similar objects. </para> <para> + you can not set the value of a key column using setFrom, It is silently ignored for + security reasons. (you can still assign it manually) + </para> + <para> + setFrom will attempt to call the setters set{columnname} methods if they exist, + It will also call fromValue(), which formats dates correctly. + </para> + + + <para> You may realize that this method overlaps the overloaded method for the column name from, due to this, the associated methods for the column name 'from' are set_from and getFrom. </para>

« previous php.pear.doc (#2425) next »