/** * @return \yii\db\ActiveQuery */ public function getCompetitions() { return $this->hasMany(Competition::className(), ['sport_id' => 'id'])->inverseOf('sport'); }
/** * @return \yii\db\ActiveQuery */ public function getCompetitions() { return $this->hasMany(Competition::className(), ['events_set_id' => 'id'])->inverseOf('eventsSet'); }
/** * @return \yii\db\ActiveQuery */ public function getCompetitions0() { return $this->hasMany(Competition::className(), ['final_rule_id' => 'id']); }
/** * @return \yii\db\ActiveQuery */ public function getCompetitions() { return $this->hasMany(Competition::className(), ['parent_id' => 'id']); }
/** * @return \yii\db\ActiveQuery */ public function getCompetition() { return $this->hasOne(Competition::className(), ['id' => 'competition_id']); }