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

(08-03-2022, 11:54 PM)ozornick Wrote: 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


thank you, too difficul in codeigniter 4, so simply, write in controller
stop here
Reply


Messages In This Thread
RE: how to data in basecontroller.php pass to footer.php view codeigniter 4 - by startup - 08-04-2022, 12:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB