[eluser]wolffc[/eluser]
[quote author="xwero" date="1232779572"]
Code:
funcion first_parameter()
{
$CI =& get_instance();
if($CI->uri->total_rsegments() > 2) // check for more than controller/method segments
{
$first_parameter = $CI->uri->segment(3);
// do whatever you want with it
}
}
call this in the post_controller_constructor hook.[/quote]
D'oh, I was using segment(3) instead of rsegment(3)

I don't even need a function test since i am making the method name required.