[symfony-users] Re: sfLogger - why the eventdispatcher?

2009-10-08 Thread LvanderRee
This is the same issue as I am having as well. The relation of the Logger to the Dispatcher is causing issues when serializing the logger, and so objects that are related to the logger, since PDO is getting serialized as well (which is not allowed). See my concern at

[symfony-users] Re: sfGrid and Custom query

2009-10-02 Thread LvanderRee
Hi Alex, sorry I completely missed this thread! Last week however I implemented a extenstion on sfDataSourcePropel, that allowed me to perform a custom query (not only by defining criteria, but also by overruling PropelBasePeer to define my own inner- queries, with nested select-queries). I

[symfony-users] Re: Using an sfUser inside of a unit test

2009-02-05 Thread LvanderRee
I bumped into that same problem, and solved it somewhat differently. Maybe nice to have as an alternative, although both methods are kind of a hack. [CODE] class FakeUser { public function hasCredential($credential) { return ($credential == sfGuardPermission::SOME_PERMISSION_CONSTANT);