![]() |
loading CI instance from helper? - 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: loading CI instance from helper? (/showthread.php?tid=83066) |
loading CI instance from helper? - protopigeon - 09-16-2022 Hi folks I'm converting a CI3 project to CI4 My old project loaded in the CI3 instance like this from a site_helper I created Code: $CI =& get_instance(); Code: $get = $CI->input->get(); RE: loading CI instance from helper? - protopigeon - 09-16-2022 Also - is there an equivalent to uri_to_assoc() in CI4? Can't see it in the docs |