title: How should I use relations on views instead tables?
body: <p>I'm new to Yii, so I have a lot to learn.</p>
  
  <p>I am about to understand relations in models, and I try to use a <code>BELONGS_TO</code> relation.
  But it doesn't work, because I would like to point my FK to a view and not to a table.<br>
  Any idea to make relations between tables and views?  </p>