/** * @return \yii\db\ActiveQuery */ public function getCountry() { return $this->hasOne(RgnCountry::className(), ['id' => 'country_id']); }
/** * @return \yii\db\ActiveQuery */ public function getCountry() { return $this->hasOne(\frontend\models\RgnCountry::className(), ['id' => 'country_id']); }