This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

commit #32 fix and enhancement

Installation and environment issues, mainly on 1.x but there's some 2.x here too.

commit #32 fix and enhancement

by RoVeRT » Tue Nov 01, 2005 5:48 am

SVN commit #32 is broken on window but I have a fix for that along with added support for multi-primary keys. Also added object_foreign_value to display a column(s) value other then the primary key, with same support added to object_select.

valid options:
<ul>
<li>mask: default '%s'
<li>tag: MethodName
<li>tag1-9: same as above
</ul>
object_foreign_value($object, 'getUser', array('tag' => 'FirstName', 'tag1' => 'LastName', 'mask' => '%s (%s)' ));
can also use tag1, tag2 is wanted
Attachments
multiPK_foreignHelper.diff
(35.38 KiB) Downloaded 341 times
RoVeRT
Senior Member
 
Posts: 146
Joined: Thu Oct 27, 2005 8:56 pm

Re: commit #32 fix and enhancement

by fabien » Tue Nov 01, 2005 11:19 am

The upload didn't work. The file is empty. Could you re-upload this file.

Thanks
fabien
Faithful Member
 
Posts: 487
Joined: Sat Oct 22, 2005 9:01 am

Re: commit #32 fix and enhancement

by RoVeRT » Tue Nov 01, 2005 3:26 pm

ok, file reuploaded and checked mt make sure it works.
RoVeRT
Senior Member
 
Posts: 146
Joined: Thu Oct 27, 2005 8:56 pm

Re: commit #32 fix and enhancement

by fabien » Tue Nov 01, 2005 10:37 pm

I downloaded your patch. There are some very good stuff in it. I will review it tomorrow and commit the majority for next release.

Thanks a lot for this very good work.

If you want to help develop symfony, you can contact me to see how we can work together.
fabien
Faithful Member
 
Posts: 487
Joined: Sat Oct 22, 2005 9:01 am

Re: commit #32 fix and enhancement

by fabien » Sat Nov 05, 2005 1:13 am

Hi RoVeRT,

I just commited (r51) your changes on scaffolding (multi-primary key support). I refactored your code but the result is the same.

Thanks again for your patch.
fabien
Faithful Member
 
Posts: 487
Joined: Sat Oct 22, 2005 9:01 am