[symfony-users] Configure HYDRATATION mode for doctrine

2010-06-14 Thread jdeveloper
Hy Can someone tell me what is the default hydratetion mode for doctrine in symfony and how can I change it? Thanks -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google G

[symfony-users] Integrate log4j with symfony

2010-08-26 Thread jdeveloper
Hi I would like to know if there is a way to integrate log4j with symfony since log4j has a powerfull configuration options? Thanks -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed

[symfony-users] Escape quote on FormFilter

2010-09-08 Thread jdeveloper
Hi I have a little problem in implementing a form filter using doctrine. The problem is that I need to filter fields belonging to an related table. So I create cutom addXColumnQuery methods: public function addPnombreColumnQuery(Doctrine_Query $query, $field, $value) { $this->addPersona

[symfony-users] Re: Removing a field from a form in an action

2010-09-08 Thread jdeveloper
I think you could pass the user as an option in the constructor, and than unset it in the configure method. Hope it helps On Sep 8, 4:31 pm, torok84 wrote: > Hi, > > I have a form to select some search options. I have a field that I > wanto to show only if the user is logged in. I want to do som

[symfony-users] Re: Removing a field from a form in an action

2010-09-08 Thread jdeveloper
I think you could pass the user as an option in the constructor, and than unset it in the configure method. Hope it helps On Sep 8, 4:31 pm, torok84 wrote: > Hi, > > I have a form to select some search options. I have a field that I > wanto to show only if the user is logged in. I want to do som

[symfony-users] Re: Escape quote on FormFilter

2010-09-09 Thread jdeveloper
Anyone knows a beter way? On Sep 8, 4:40 pm, jdeveloper wrote: > Hi > > I have a little problem in implementing a form filter using doctrine. > > The problem is that I need to filter fields belonging to an related > table. So I create cutom addXColumnQuery methods: &

[symfony-users] Escaping quotes in doctrines form filter with text search

2010-09-16 Thread jdeveloper
Hi I tested to find text witch contained quotes with the symfonys generated form filters with doctrine and found out that the quotes are not escaped (I use mysql). I published a litle gist overriding addTextQuery in BaseFormFilterDoctrine; getFieldName($field); if (is_array($values) && isse