[symfony-users] Re: Access service container from event.

2011-05-19 Thread Craige
Yep, that does the trick. Thanks again, Dustin. I wish the Symfony2 doc's were more up to date with this stuff. But alas, Symfony2 is only in beta, so I can't expect complete documentation. On May 19, 5:19 pm, dustin10 wrote: > You must inject the services you need into your service. I use const

[symfony-users] [sf2] Access service container from event.

2011-05-19 Thread Craige
Got another one for you guys. So far as I can tell, we don't have any access to the Symfony2 Service Container from the event listeners. Is there any easy way to the Service Container instance in the event listener? Thanks in advance! -- If you want to report a vulnerability issue on symfony,

[symfony-users] Re: Login Event

2011-05-19 Thread Craige
Yep, that would be it. Thanks, Dustin! On May 19, 2:32 pm, dustin10 wrote: > You probably want to listen for the onSecurityInteractiveLogin event. > > Dustin -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message

[symfony-users] [sf2] Login Event

2011-05-19 Thread Craige
Hi guys, This should be a pretty quick question. Does Symfony2 Authentication code fire an event upon authenticating a user. ie, user login. I have data want to calculate and store to session data when the user is authenticated, and I figured an event handler would be the best way to go about t

[symfony-users] Re: Entity Dependancies

2011-03-18 Thread Craige
Hi Julian, Yes, I know how to USE the entities from other bundles, but I was asking for a practice regarding the limiting of cross-bundle dependencies. It is my understanding that bundle's should be a stand-alone collection of functionality, with little to no dependencies. - Craige On M

[symfony-users] Entity Dependancies

2011-03-17 Thread Craige
I'm wondering how a Symfony2 developer should handle Entity dependencies ie One might separate their application into 3 bundles, A, B, and C. How should one handle cross-bundle Entity dependencies? Eg - bundle A is an AuthBundle - Bundle B is a BlogBundle The BlogBundle will likely require a Us

[symfony-users] Re: [pr7] doctrine:generate:entities

2011-03-08 Thread Craige
Ignore me. I solved the problem. For anybody interested, you must add your bundles to 'doctrine.orm.mappings' if you want to be able to use their mappings. eg... doctrine: orm: mappings: UserBundle: ~ On Mar 8, 8:07 pm, Craige wrote: > I'm try

[symfony-users] [symfony2] [pr7] doctrine:generate:entities

2011-03-08 Thread Craige
I'm trying to create some Doctrine entities from yml schema, but I'm running into trouble: $ app/console doctrine:generate:entities UserBundle --- "Bundle UserBundle does not contain any mapped entities." However I know that that entities exist in this the entity dirctory. I then try: $ app/cons

[symfony-users] [symfony2] [pr7] doctrine:generate:entities

2011-03-08 Thread Craige
I' -- 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 fro

[symfony-users] [sf2] March Release

2011-02-28 Thread Craige
Hey Guys, Just wondering if sf2 is still planned for a final March release, or is this going to be overshot? Is it fair to say that one could start developing with a snapshot from GitHub without TOO much trouble when the final release comes? - Craige -- If you want to report a vulnerability

[symfony-users] [sf2] Doctrine Schema

2010-09-13 Thread Craige
Hey guys, I've been eagerly awaiting Symfony 2, but I see that the public site now says it's not expected until March. Unfortunate, but no big deal. I'd rather have the team do it right than do it fast. Anyway, I've was planning (and still am planning) to program my new project with Symfony 2. Gi