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