![]() |
extending hooks - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Best Practices (https://forum.codeigniter.com/forumdisplay.php?fid=12) +--- Thread: extending hooks (/showthread.php?tid=64870) |
extending hooks - Tecvid - 04-06-2016 hi everyone! i need advice.. i have decided to collect all my hooks in one class, like this: PHP Code: <?php but in order to make method protected, i have extended the CI_Hooks, so is it a good? or i shouldn't do like this? |