You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can use the global $this anywhere in the controller, model, view in CI3, but ci4, I can't use the global $this in the view, the model, which worries me
get_instance is not available because there is no "super object" aka singleton is present in ci4. In my humble opinion this is not a bug and you should take your question to the ci4 forum.
THis was a design decision early in the CI4 development. This is a feature, not a bug.
If you wish to argue for it, the forum is the proper place, slow or not.
How do you access the $this bound data of the controller in the view? Ci3 is OK, ci4 doesn't seem to work
The text was updated successfully, but these errors were encountered: