Example #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSubjectAllocates()
 {
     return $this->hasMany(SubjectAllocate::className(), ['updated_by' => 'user_id']);
 }
Example #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSubjectAllocates()
 {
     return $this->hasMany(SubjectAllocate::className(), ['sub_allocate_batch_id' => 'batch_id']);
 }
Example #3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSubjectAllocates()
 {
     return $this->hasMany(SubjectAllocate::className(), ['sub_allocate_emp_id' => 'emp_master_id']);
 }