Exemple #1
0
 /**
  * @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');
 }
Exemple #3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCompetitions0()
 {
     return $this->hasMany(Competition::className(), ['final_rule_id' => 'id']);
 }
Exemple #4
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCompetitions()
 {
     return $this->hasMany(Competition::className(), ['parent_id' => 'id']);
 }
Exemple #5
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCompetition()
 {
     return $this->hasOne(Competition::className(), ['id' => 'competition_id']);
 }