예제 #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getTransfers()
 {
     return $this->hasMany(Transfer::className(), ['command_to_id' => 'id']);
 }
예제 #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getTranfers()
 {
     return $this->hasMany(Transfer::className(), ['player_id' => 'id']);
 }