Welcome Guest, Not a member yet? Register   Sign In
Extending BaseController gives error
#4

(This post was last modified: 11-10-2019, 02:57 AM by Ambroz.)

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



Theme © iAndrew 2016 - Forum software by © MyBB