Welcome Guest, Not a member yet? Register   Sign In
How to access request in ResourcePresenter?
#6

@rich8374 Strictly speaking, the Visual Studo Code warning is not wrong.
In fact, there are the issues in CI4 framework code.

But anyway, the request object in the controller is always IncommingRequest if it is a web request.
So you can call its methods.
Reply


Messages In This Thread
RE: How to access request in ResourcePresenter? - by kenjis - 11-25-2022, 01:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB