/** * @return \yii\db\ActiveQuery */ public function getEl() { return $this->hasOne(EducationLevel::className(), ['el_id' => 'el_id']); }