cake-php@googlegroups.com
[Top] [All Lists]

Re: Custom model association column

Subject: Re: Custom model association column
From: Stephen Speakman
Date: Wed, 22 Feb 2012 08:16:24 +0000
Something i need to bear in mind when mapping my models, no joining between two connections.

Could you not find a behaviour to create a temporary table as a very last resort?

Sent from my iPhone

On 21 Feb 2012, at 21:37, jeremyharris <funeralmoss@xxxxxxxxx> wrote:

Does Containable not work?

$this->HospitalAdmission->find('all', array(
  'contain' => array(
    'Subject' => array(
      'Contents'
    )
  )
));

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/cake-php

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/cake-php
<Prev in Thread] Current Thread [Next in Thread>