/** * Relation with conference * @return \yii\db\ActiveQuery */ public function getConference() { return $this->hasOne(Conference::className(), ['cnf_id' => 'sec_cnf_id']); }