In the relational Active Record guide ( http://www.yiiframew...de/database.arr ) we have this example :
public function relations()
{
return array(
'categories'=>array(self::MANY_MANY, 'Category',
'tbl_post_category(post_id, category_id)'),
);
}It works fine but it only select fields from the Category table. What if I want to output also some fields of tbl_post_category ?

Help














