Welcome Guest, Not a member yet? Register   Sign In
Is extending views possible?
#1

Hi,
is it possible to extend a view in CI4? I mean I have 2 controller classes (one extending another) and 2 views corresponding to the controllers. The difference between the views is only a minimal and I would be nice to avoid repeating the code of the views somehow. Unfortunately I didn't find if and how can be done. 
The only idea I have is using the same view and manipulating with variables but maybe there is a more elegant solution. Any advice?
Reply


Messages In This Thread
Is extending views possible? - by futureisnow - 09-06-2020, 06:50 AM
RE: Is extending views possible? - by InsiteFX - 09-06-2020, 07:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB