예제 #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSlots4()
 {
     return $this->hasMany(Slot::className(), ['item_5' => 'id']);
 }
예제 #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSlots()
 {
     return $this->hasMany(Slot::className(), ['hero_id' => 'id']);
 }
예제 #3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSlot()
 {
     return $this->hasOne(Slot::className(), ['id' => 'slot_id']);
 }
예제 #4
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSlots()
 {
     return $this->hasMany(Slot::className(), ['account_id' => 'account_id']);
 }