title: Querying data based on 3rd level relationship in CakePHP
body: <p>I have the following relationships set up:</p>
  
  <pre><code>A HABTM B
  B belongsTo C
  C hasMany B
  </code></pre>
  
  <p>Now, for a given A, I need all C with the B's attached. I can write the SQL queries, but what's the proper CakePHP way? What method do I call on which model, and with which parameters?</p>