[symfony-users] Re: Extending sfGuardPlugin: problem with __toString()

2008-09-10 Thread Tom Haskins-Vaughan
OK, I think this post here [1] about returning the extended version of a peer class is what the problem is. I have extended the sfGuardUserPeer class in tsmGuardUserPeer class. But the trouble is when I do something like: $user = tsmGuardUserPeer::retrieveByPK($id); I get auser of class sfGu

[symfony-users] Re: Extending sfGuardPlugin: problem with __toString()

2008-09-09 Thread Tom Haskins-Vaughan
I have a feeling that it has something to do with the fact that my tsmArticle.author_id field links to sf_guard_user. But surely, when I use a propel select widget and specify which class to use, it should override that? Tom Haskins-Vaughan wrote: > [Using symfony 1.1] > > I am writing 2 simp