mtschirs
✭✭✭mtschirs ✭✭✭
Reactions
-
Redundant User Queries...
Just to display the name and photo of the user that created a discussion, Vanilla (checked with 2.2 master) performs 4 redundant user queries - and that is even after applying this fix: https://githu… (View Post)1 -
Re: Gdn_Form - Associative Arrays?
So the current Gdn_Form fails to handle models with columns like 'abc[]', but it has special code allowing it to handle models with columns like 'abc[x]'... public function escapeString($String) { $A… (View Post)2 -
Re: Gdn_Form - Associative Arrays?
@Bleistift: I like your explanations :). Since I am relatively new to Garden & Vanilla, my understanding of how things came to be as they are is limited. I will have a look at the dot syntax foun… (View Post)2 -
Re: Gdn_Form - Associative Arrays?
@Bleistivt: The DiscussionPolls plugin makes use of the special workaround for '[]' provided by Gdn_Form. This workaround does no allow to prepopulate the form fields with values via Gdn_Form::setDat… (View Post)2 -
Re: Gdn_Form - Associative Arrays?
@Bleistivt: You will have to search hard for an application that relies on the form <-> table schema correspondence. Nearly every use case requires you to ditch the given Gdn_Form->save() or… (View Post)2