|Subject:||Re: find('list') with conditions of joined tables? --psybear|
|From:||Yasir Arafat Hasib|
|Date:||Sun, 19 Dec 2010 14:40:35 +0700|
Better to use Cakephp Association.
On Fri, Dec 17, 2010 at 9:17 PM, Stephen <[email protected]> wrote:
I find the best way to deal with User hasOne Profile to find a users "own" profile is to check the $this->Auth->user('id') against Profile.user_id;
Thanks & regards.
Yasir Arafat (Hasib)
Epsilon Consulting and Development Services (ECDS)
Cell : +8801816536901
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" 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/cake-php?hl=en
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Re: Register Function--Hashing Password and Auto-login Causes Password Validation Disabled in Register Page, John Maxim|
|Next by Date:||Re: Skip duplicate data with cake, Cruisine|
|Previous by Thread:||Re: find('list') with conditions of joined tables? --psybear, Stephen|
|Next by Thread:||ODBC + Cake 1.3, Philip Thompson|
|Indexes:||[Date] [Thread] [Top] [All Lists]|