The Yaf_Route_Map class

(Yaf >=1.0.0)

Introduction

Yaf_Route_Map is a built-in route, it simply
convert a URI endpoint (that part of the URI which comes after the
base URI: see Yaf_Request_Abstract::setBaseUri())
to a controller name or action name(depends on the paramter passed to
Yaf_Route_Map::__construct()) in following rule:
A => controller A.
A/B/C => controller A_B_C.
A/B/C/D/E => controller A_B_C_D_E.