Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Typehints in FK mutator

propel
Discussion topic

Back to topic list

Typehints in FK mutator

Reply

Author Ron Rademaker <r dot rademaker at virtualbuilding dot nl>
Full name Ron Rademaker <r dot rademaker at virtualbuilding dot nl>
Date 2006-12-14 05:34:33 PST
Message Anyone any objections if I commit a change that adds a typehint to a
foreign key mutator? Ie, in PHP5ComplexObjectBuilder the line:

public function set".$this->getF​KPhpNameAffix($fk, $plural = false)."(\$v)

would become

public function set".$this->getF​KPhpNameAffix($fk, $plural =
false)."($className \$v)

This will break any code that tries to set a foreign key to anything
other than an instance of the foreign table OM object.

Ron

« Previous message in topic | 1 of 12 | Next message in topic »

Messages

Show all messages in topic

Typehints in FK mutator Ron Rademaker <r dot rademaker at virtualbuilding dot nl> Ron Rademaker <r dot rademaker at virtualbuilding dot nl> 2006-12-14 05:34:33 PST
     Re: [propel-dev] Typehints in FK mutator hlellelid Hans Lellelid 2006-12-14 07:08:47 PST
         Re: [propel-dev] Typehints in FK mutator Ron Rademaker <r dot rademaker at virtualbuilding dot nl> Ron Rademaker <r dot rademaker at virtualbuilding dot nl> 2006-12-14 07:12:39 PST
     Re: [propel-dev] Typehints in FK mutator Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2006-12-14 08:09:04 PST
         RE: [propel-dev] Typehints in FK mutator Soenke Ruempler - NorthClick <soenke dot ruempler at northclick dot de> Soenke Ruempler - NorthClick <soenke dot ruempler at northclick dot de> 2006-12-14 08:11:44 PST
             Re: [propel-dev] Typehints in FK mutator Felix Gilcher <propel at andersground dot net> Felix Gilcher <propel at andersground dot net> 2006-12-14 09:16:17 PST
                 Re: [propel-dev] Typehints in FK mutator Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2006-12-14 08:22:36 PST
             Re: [propel-dev] Typehints in FK mutator Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2006-12-14 08:28:17 PST
                 RE: [propel-dev] Typehints in FK mutator Soenke Ruempler - NorthClick <soenke dot ruempler at northclick dot de> Soenke Ruempler - NorthClick <soenke dot ruempler at northclick dot de> 2006-12-14 08:33:30 PST
                     Re: [propel-dev] Typehints in FK mutator Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2006-12-14 08:42:16 PST
                 Re: [propel-dev] Typehints in FK mutator hlellelid Hans Lellelid 2006-12-14 08:34:52 PST
                     Re: [propel-dev] Typehints in FK mutator Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2006-12-14 08:43:02 PST
Messages per page: