Exemple #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getLanguages()
 {
     return $this->hasMany(ProviderLanguages::className(), ['provider_id' => 'id']);
 }
Exemple #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getProviderLanguages()
 {
     return $this->hasMany(ProviderLanguages::className(), ['lang_code' => 'code']);
 }