.............
public function relations()
{
// NOTE: you may need to adjust the relation name and the related
// class name for the relations automatically generated below.
return array(
.............
'rtFieldsShowIn' => array(self::HAS_MANY, 'RtFieldsShowIn', 'rt_cv_fields_id',
'select'=>'*,rtFieldsShowIn.show + 0 as show_d'),
);
}
..............
finding all elements with “->with(‘rtFieldsShowIn’)->findAll()”
how i can access select column show_d from my active record?
when i am making getAttributes() there is no show_d column.