Example #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getProviderService()
 {
     return $this->hasOne(ProviderServices::className(), ['id' => 'provider_service_id']);
 }
Example #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getProviderServices()
 {
     return $this->hasMany(ProviderServices::className(), ['service_id' => 'id']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getServices()
 {
     return $this->hasMany(ProviderServices::className(), ['provider_industry_id' => 'id']);
 }