IDEA: Default core class extensions - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31) +--- Thread: IDEA: Default core class extensions (/showthread.php?tid=73142) |
IDEA: Default core class extensions - MGatner - 03-23-2019 Hi all! So after this thread we decided to create BaseController, an extended controller shipping by default in /app/Controllers (see the pull request). I'm now working on my next library which includes extending the Model and Entity classes, which got me thinking... Should we be providing default extensions in /app for the common core classes? It seems a win-win for everyone:
Curious everyone's thoughts on this... RE: IDEA: Default core class extensions - MGatner - 03-24-2019 No objections, splendid! Since it won’t be much work I might just go ahead and submit a pull request and we can discuss it there. RE: IDEA: Default core class extensions - John_Betong - 03-24-2019 Possibly make Url Segments available? |