Welcome Guest, Not a member yet? Register   Sign In
Load view every pages

I want to get some suggestions. I have a view like this:
PHP Code:
[FILE VIEW 1 with variable - for every pages]
[FILE VIEW 2 with variable - for every pages]
And controller (i just need to write)
_______ test::index_view

PHP Code:
return view(FILE VIEW 2$data
then where should i process FILE VIEW 1 (Filter, View cells, View layout... or somewhere?)

See https://codeigniter4.github.io/userguide...cells.html
View cell as function with template render

Theme © iAndrew 2016 - Forum software by © MyBB