remapping controllers' function calls: what about arguments? |
[eluser]Michael Ekoka[/eluser]
I'm experimenting with the controller's _remap() method that overrides a call to specific methods. In the user guide it states that Quote:The overridden function call (typically the second segment of the URI) will be passed as a parameter the _remap() function(User Guide : Controllers). Code: function _remap($method) Now, i would like to be able to call the original method with the arguments that were intended for it, but the guide doesn't mention anything about them. Has anyone ever played with this? |
Messages In This Thread |
remapping controllers' function calls: what about arguments? - by El Forum - 10-23-2007, 11:02 AM
remapping controllers' function calls: what about arguments? - by El Forum - 10-23-2007, 11:37 AM
remapping controllers' function calls: what about arguments? - by El Forum - 10-23-2007, 12:23 PM
remapping controllers' function calls: what about arguments? - by El Forum - 10-23-2007, 01:45 PM
remapping controllers' function calls: what about arguments? - by El Forum - 11-04-2007, 06:14 AM
remapping controllers' function calls: what about arguments? - by El Forum - 11-04-2007, 10:00 AM
remapping controllers' function calls: what about arguments? - by El Forum - 11-04-2007, 10:12 AM
remapping controllers' function calls: what about arguments? - by El Forum - 11-04-2007, 10:59 AM
|