Welcome Guest, Not a member yet? Register   Sign In
Controller routing question
#6

[eluser]Colin Williams[/eluser]
In PHP, and many other scripting and programming languages, you can throw as many arguments at a function that you want. Your only requirement is that you at least pass the arguments it needs. So, CI will always call $controller->$method($param1, $param2) (for example) provided there is a param1 and param2 (URI params).

http://php.net/functions


Messages In This Thread
Controller routing question - by El Forum - 10-13-2008, 05:35 PM
Controller routing question - by El Forum - 10-13-2008, 06:00 PM
Controller routing question - by El Forum - 10-13-2008, 06:04 PM
Controller routing question - by El Forum - 10-13-2008, 06:09 PM
Controller routing question - by El Forum - 10-13-2008, 06:11 PM
Controller routing question - by El Forum - 10-13-2008, 06:24 PM



Theme © iAndrew 2016 - Forum software by © MyBB