[eluser]cjaffar[/eluser]
i know this may hav been answered but i am having a problem following the solutions provided.
can somebody help in this specific situation using this specific logic:
i hav an app. i am adding a _remap function to catch nonexistent functions. problem is how do i pass the parameters to the called method. method below strangely does not work. check this:
function _remap($method) {
if(!(in_array($method, get_class_methods($this))))
{
$this->index();
} else
{
$methodArguments = implode(',', array_slice($this->uri->segment_array(), 2));
$this->$method($methodArguments);
}
}
}