Welcome Guest, Not a member yet? Register   Sign In
extend url_to helper
#3

(04-22-2024, 07:01 AM)sjender Wrote: But I would prefer I didn't have to make a copy of the original function, but refer directly to the CI4 function instead,
How can do this?

You can't. Because we can have only one global function.
If you don't need to change the behavior of the uri_to(), I recommend you add a new function like my_url_to().
Reply


Messages In This Thread
extend url_to helper - by sjender - 04-22-2024, 07:01 AM
RE: extend url_to helper - by datamweb - 04-22-2024, 01:58 PM
RE: extend url_to helper - by kenjis - 04-22-2024, 02:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB