Re: [symfony-users] Where to store class files (project level vs. app level, vs. module level)
I think that all tutorial examples assumes that you have only two applications: frontend and backend (or even single frontend). Obviously, if you have three or more applications - it will be better, if you put application classes separately. I'm not so sure about modules, but application level should rather clean. 2010/4/23 Richtermeister : > Hi all, > > This is more of an aesthetic question.. > > In most tutorials/examples/apps I see written in symfony, all class > files are stored in the project/lib data. > For the model layer I see that that's a good central spot, however, I > often have forms or filters that are really only applicable to one > application, and seeing that my project/lib dirs can get pretty > crammed, I'm wondering if it's ok to move application specific classes > into the project/apps/whatever/lib realm.. or even into the lib dir > that is specific to a module.. > > Thanks for any validation either way. > > Daniel > > -- > 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 > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- 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 Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] noob url variable question
You can get id in your action: $id = $request->getParameter('id'); and use this id for any queries you like. 2010/4/23 bklshblues : > I'm a symfony beginner and I'm looking for some help on what's > probably a very obvious question. I want to use a variable in my url, > where the variable is the id of an item, then display only that item > on the page. I think the routing.yml url would be this: > /item/:id > > How in the item/actions.class.php file would I reference that id? I > want to use it in a Doctrine_Query to return that item from the > database. > > -- > 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 > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- 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 Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] Somebody, working with Filters?????
Filter - is the same thing as form. Just use something like: $filter = new YouClassFormFilter(); echo($filter); and if you have field 'created_at' at YouClass - you'll obtain such filter. 2010/4/22 Germana Oliveira : > I need filter a 'created_at' field.. thanks > > -- > Germana Oliveira > > http://626f67.wordpress.com > http://slcarabobo.wordpress.com > > "Fool me once, shame on you. Fool me dozens of times, I'm an Apple > customer." > > -- > 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 > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- 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 Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] sfOutputEscaper behaviour
Did you try to set escaping-strategy = off in the settings.yml of single module? Denis 2010/4/5 Apul Gupta : > Hi, > > Actually, I want to show some HTML text from the database to a > template. > > I am using > echo $sf_data->getRaw('sf_content'); > > to get un-escaped value from the database but still it shows escaped > data to me. What should I do to get unescaped value? > > I don't want to SET escaping-strategy = off in settings.yml for the > entire application. > > I will appreciate any help. > > > --- > Thanks > Apul Gupta > > -- > 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 > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > > To unsubscribe, reply using "remove me" as the subject. > -- 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 Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] a question about routing framework :P
Did you try something like this: some_route: url: /:module-:actions-:id 2010/4/1, Lee Joseph : > as I know routing framework in symfony which separates url information > with slash '/' or dot '.' like > > some_route: > url: /:module/:actions/:id > > > I just want know is there anything I can do to make some Url like > .com/auckland/module-action-id > > -- > 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 > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > > To unsubscribe, reply using "remove me" as the subject. > -- 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 Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] Re: Credentials problem
I'm not shure, but I think you need to check sfUser credentials by youself. -- 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 Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.