Welcome Guest, Not a member yet? Register   Sign In
calling the right method after ajax call
#3

[eluser]stoefln[/eluser]
maybe my question is not as complete as it should. determining the location is acutally not a big problem: i can call $this->uri->segment(3) to get the method where the current view was rendered. but i have to do a switch($this->uri->segment(3)), that means i have to do a manually routing of methods and parameters. thats something what CI usually does for me. isnt there a more generic way, maybee using the routing functionallity of CI?


Messages In This Thread
calling the right method after ajax call - by El Forum - 02-15-2009, 05:28 AM
calling the right method after ajax call - by El Forum - 02-15-2009, 05:31 AM
calling the right method after ajax call - by El Forum - 02-15-2009, 05:53 AM
calling the right method after ajax call - by El Forum - 02-15-2009, 06:22 AM
calling the right method after ajax call - by El Forum - 02-15-2009, 06:23 AM
calling the right method after ajax call - by El Forum - 02-15-2009, 06:43 AM
calling the right method after ajax call - by El Forum - 02-15-2009, 06:57 AM
calling the right method after ajax call - by El Forum - 02-15-2009, 07:00 AM
calling the right method after ajax call - by El Forum - 02-15-2009, 07:24 AM
calling the right method after ajax call - by El Forum - 02-15-2009, 07:33 AM
calling the right method after ajax call - by El Forum - 02-16-2009, 05:52 AM
calling the right method after ajax call - by El Forum - 02-16-2009, 06:25 AM
calling the right method after ajax call - by El Forum - 02-16-2009, 06:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB