Esempio n. 1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCompositions()
 {
     return $this->hasMany(Composition::className(), ['match_id' => 'id']);
 }
Esempio n. 2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSubstitution()
 {
     return $this->hasOne(Composition::className(), ['id' => 'substitution_id']);
 }