Yii Framework Forum: Anti-together ActiveFinder behaviour - Yii Framework Forum

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Anti-together ActiveFinder behaviour Rate Topic: -----

#21 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,855
  • Joined: 04-October 08
  • Location:DC, USA

Posted 03 July 2009 - 02:59 PM

Things are more complicated here. ;)
If you check CActiveRelation, you will find the 'with' option which is used by lazy-loading only to specify which related objects to be queried together. And more complicated, such option can be specified on-the-fly (e.g. $post->comments(array('with'=>'author')))
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users