Does CI have a way to reuse a form like Symfony? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Does CI have a way to reuse a form like Symfony? (/showthread.php?tid=79411) |
Does CI have a way to reuse a form like Symfony? - Polymorphism - 06-11-2021 I've used Symfony in the past and that has some functionality where a form can be defined as an object and then that form object can be reused. That's great because it means you only need to create a single form but use it in multiple places. Does Code Igniter have anything like that? RE: Does CI have a way to reuse a form like Symfony? - paulbalandan - 06-11-2021 Forms in CodeIgniter are currently procedural (through the use of form_helper) and not yet object-oriented. It could be nice to have an OOP counterpart to it as well as other helpers. |