示例#1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getClass()
 {
     return $this->hasOne(Acdclass::className(), ['classid' => 'classid']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAcdclasses()
 {
     return $this->hasMany(Acdclass::className(), ['initiallearningperiodid' => 'learningperiodid']);
 }