CodeIgniter Forums
URL Helper: function uri_segments() is missing - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: URL Helper: function uri_segments() is missing (/showthread.php?tid=12724)



URL Helper: function uri_segments() is missing - El Forum - 10-29-2008

[eluser]Alexdamo[/eluser]
I tried to use the function uri_segments() from the URL Helper, as described in the documentation, but it isn't there. The function doesn't exist! Or am I doing something wrong?

Here's what the user guide says:
Quote:uri_segments()

Returns the URI segments of any page that contains this function.



URL Helper: function uri_segments() is missing - El Forum - 10-29-2008

[eluser]xwero[/eluser]
you are right the function is missing while the user guide mentions it.


URL Helper: function uri_segments() is missing - El Forum - 10-29-2008

[eluser]Unknown[/eluser]
Think it was just documented wrong. Should be uri_string() instead of uri_segments()