Example #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAcdcurricularcomponents()
 {
     return $this->hasMany(Acdcurricularcomponent::className(), ['centerid' => 'centerid']);
 }
Example #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCurricularcomponent()
 {
     return $this->hasOne(Acdcurricularcomponent::className(), ['curricularcomponentid' => 'curricularcomponentid', 'curricularcomponentversion' => 'curricularcomponentversion']);
 }