示例#1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getMatch()
 {
     return $this->hasOne(Match::className(), ['id' => 'parent_id']);
 }
示例#2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getHomeMatches()
 {
     return $this->hasMany(Match::className(), ['command_home_id' => 'id']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getMatches()
 {
     return $this->hasMany(Match::className(), ['championship_part_id' => 'id']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getMatches()
 {
     return $this->hasMany(Match::className(), ['team_id' => 'id']);
 }
示例#5
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getMatch()
 {
     return $this->hasMany(Match::className(), ['stadium_id' => 'id']);
 }