I am trying to access the object of the extended profile for sfguard..
http://pastebin.com/md823309
How is the correct way of doing that?
# config/doctrine/schema.yml
Organization:
actAs: { Timestampable: ~ }
columns:
sf_guard_user_id: { type: integer(4) }
name: { type: string(255), notnull: true, unique: true }
first_name: { type: string(255) }
last_name: { type: string(255), notnull: true }
phone: { type: string(20) }
mobile: { type: string(20) }
email: { type: string(255), notnull: true }
logo: { type: string(255) }
is_active: { type: boolean, notnull: true, default: 1 }
relations:
sfGuardUser:
foreign: id
local: sf_guard_user_id
???
echo $this->getUser()->getOrganization()->first_name; <??????????????
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected].
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.