Exemple #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getBatchSubjectAllots()
 {
     return $this->hasMany(BatchSubjectAllot::className(), ['batch_sub_allot_batch_id' => 'batch_id']);
 }
Exemple #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getBatchSubjectAllots()
 {
     return $this->hasMany(BatchSubjectAllot::className(), ['updated_by' => 'user_id']);
 }