Beispiel #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getPROJHDLR()
 {
     return $this->hasOne(EfProjHdlr::className(), ['PROJ_HDLR_ID' => 'PROJ_HDLR_ID']);
 }
Beispiel #2
0
 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.');
     }
 }