Welcome Guest, Not a member yet? Register   Sign In
how to data in basecontroller.php pass to footer.php view codeigniter 4
#6

Hmm. In CI 3 $this is "more global" as I recall.
For your last example, the function should return something (object).


PHP Code:
// in my_function(), example
return $this


I can’t guess anymore, expect others or try it yourself
Simple CI 4 project for beginners codeigniter-expenses
Reply


Messages In This Thread
RE: how to data in basecontroller.php pass to footer.php view codeigniter 4 - by ozornick - 08-03-2022, 11:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB