• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Call BaseController custom function in view

#9
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.