I'm searching for an easy way to "translate" url strings into arrays of controller/action name pairs.
example1:
/users/
should return
array('controller'=>'users','action'=>'index')
example2:
/admin/users/view/23
should return
array('controller'=>'users','action'=>'admin_view')
example3:
/
should return
array('controller'=>'pages','action'=>'home')