I have been developing a project in codeigniter, and I need to change the functionality of a function called site_url()
of url_helper
. I have already extended the url_helper
in my application/helper folder by naming it MY_url_helper
, and I can load/access it. What I want to know is, How can I extend the functionality of site_url()
function. Do I need to create another method with different name called site_url_ext()
in my extended helper, or is there a way to extend the current function.
Thanks.