Posted By

xavsio4 on 08/05/10


Tagged

Yii


Versions (?)

Yii Relations


 / Published in: PHP
 

  1. return array('category_id' => array(self::BELONGS_TO, 'categories', 'id'),
  2. 'user_id' => array(self::BELONGS_TO, 'users', 'id'),
  3. );

Report this snippet  

You need to login to post a comment.