In sfDoctrinePlugin you can add relationships to models of plugins natively.
No need to have any configuration like in Propel. Simply add a Profile model
to your schema, and relate it to sfGuardUser.

Profile:
  columns:
    user_id: integer(4)
    first_name: string(255)
    last_name: string(255)
  relations:
    User:
      class: sfGuardUser
      local: user_id
      foreign: id
      foreignType: one

Now User hasOne Profile and Profile hasOne User.

- Jon

On Mon, Oct 20, 2008 at 4:51 PM, Charley Tiggs <[EMAIL PROTECTED]>wrote:

>
> Hi all,
>
> Does sfDoctrineGuardPlugin not implement the profile functionality?
> I've updated app.yml to include the necessary two lines and tried to
> call $guard->getProfile() and it complains about that function not
> existing.
>
> I'm using the latest symfony 1.1 and the version of sfDoctrinePlugin
> associated with symfony 1.1.  I also have the latest from
> sfDoctrineGuardPlugin via svn:externals.
>
> Thanks,
>
> Charley
>
> >
>


-- 
Jonathan H. Wage
Open Source Software Developer & Evangelist
http://www.jwage.com
http://www.doctrine-project.org
http://www.symfony-project.org

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to