Welcome Guest, Not a member yet? Register   Sign In
Problems with uri routing
#11

[eluser]wiredesignz[/eluser]
CI 1.6.0 , the version I have is about 2 weeks old

Code:
// Call the requested method.
// Any URI segments present (besides the class/function) will be passed to the method for convenience
call_user_func_array(array(&$CI, $method), array_slice($URI->rsegments,
     ($RTR->fetch_directory() == '') ? 2 : 3));

if you have a $route sub-directory, rsegment[3] is passed to your function instead of rsegment[2].


Messages In This Thread
Problems with uri routing - by El Forum - 01-29-2008, 01:30 AM
Problems with uri routing - by El Forum - 01-29-2008, 01:40 AM
Problems with uri routing - by El Forum - 01-29-2008, 01:49 AM
Problems with uri routing - by El Forum - 01-29-2008, 02:00 AM
Problems with uri routing - by El Forum - 01-29-2008, 02:01 AM
Problems with uri routing - by El Forum - 01-29-2008, 11:06 AM
Problems with uri routing - by El Forum - 01-29-2008, 12:12 PM
Problems with uri routing - by El Forum - 01-29-2008, 12:20 PM
Problems with uri routing - by El Forum - 01-29-2008, 04:45 PM
Problems with uri routing - by El Forum - 01-29-2008, 06:38 PM
Problems with uri routing - by El Forum - 01-29-2008, 08:21 PM
Problems with uri routing - by El Forum - 01-30-2008, 04:29 AM
Problems with uri routing - by El Forum - 01-30-2008, 05:07 AM
Problems with uri routing - by El Forum - 01-30-2008, 04:12 PM
Problems with uri routing - by El Forum - 01-30-2008, 04:32 PM



Theme © iAndrew 2016 - Forum software by © MyBB