Welcome Guest, Not a member yet? Register   Sign In
Call BaseController custom function in view
#9

(This post was last modified: 04-20-2020, 09:24 AM by kilishan.)

You could make that a helper, and include it in your BaseController, then it's available within all views.

Just a note: The $this context refers to the sytsem's View class, not the controller.
Reply


Messages In This Thread
RE: Call BaseController custom function in view - by kilishan - 04-20-2020, 09:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB