Is this even possible? By using a custom route like:
$route['ajax/:any'] = "ajax/route";
And then declaring the method private in the controller:
class Ajax extends Controller {
function _route()
{
some code here...
}
}
I know this example does not work in practice, but you get the idea.
Not really but you could have something like this:
Unless _handle is a multiple use function eg, it is going to be called from more than one controller function i dont see the point.
Examples that i myself use are:
And other such functions.