/**
  * @return \yii\db\ActiveQuery
  */
 public function getAcdlearningperiods()
 {
     return $this->hasMany(Acdlearningperiod::className(), ['courseid' => 'courseid', 'courseversion' => 'courseversion', 'turnid' => 'turnid', 'unitid' => 'unitid']);
 }
Beispiel #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getLearningperiod()
 {
     return $this->hasOne(Acdlearningperiod::className(), ['learningperiodid' => 'learningperiodid']);
 }
Beispiel #3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAcdlearningperiods()
 {
     return $this->hasMany(Acdlearningperiod::className(), ['centerid' => 'centerid']);
 }