I have 3 tables user, address and phone. They are related in the database. 1 user could have multible adress enteries and phone entries. Is there a way to display all the user information on 1page but no other user info
* @property Address[] $addresses
* @property Phone[] $phones
*/
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(
'addresses' => array(self::HAS_MANY, 'Address', 'user_id'),
'phones' => array(self::HAS_MANY, 'Phone', 'user_id'),
);
}