コード例 #1
0
ファイル: UserVisitLog.php プロジェクト: gpis88ce/Gpis88ce
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getUser()
 {
     return $this->hasOne(User::className(), ['id' => 'user_id']);
 }