• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Extending BaseController gives error

#4
Sorry for the late reply.
I tryed using the initController in the BaseController to recreate what I had in CI3 but that doesn't work.
Is it still possible to pass a view to a variable like in CI3?
For example:
PHP Code:
$this->_viewData['header'] =  view('parts/header'$this->_viewDatatrue); 
And than echo it in a template?

[Image: c1.jpg]
[Image: c2.jpg]
Reply


Messages In This Thread
Extending BaseController gives error - by Ambroz - 09-03-2019, 05:44 AM
RE: Extending BaseController gives error - by Ambroz - 11-09-2019, 04:12 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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