/** * @return \yii\db\ActiveQuery */ public function getPROJHDLR() { return $this->hasOne(EfProjHdlr::className(), ['PROJ_HDLR_ID' => 'PROJ_HDLR_ID']); }
protected function findEfProjHdlrModel($id) { if (($model = EfProjHdlr::find()->where(['USER_ID' => $id])->one()) !== null) { return $model; } else { throw new NotFoundHttpException('The requested page does not exist.'); } }