Пример #1
0
 public function getUsergroups()
 {
     return $this->hasMany(Usersgroups::className(), ['id_user' => 'id']);
 }