コード例 #1
0
ファイル: Acdcenter.php プロジェクト: henrique-r-luz/portal
 /**
  * @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']);
 }