Query: yaf_route_map
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
YAF_ROUTE_MAP(3) 1 YAF_ROUTE_MAP(3) The Yaf_Route_Map classINTRODUCTIONYaf_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 fol- lowing rule: A => controller A. A/B/C => controller A_B_C. A/B/C/D/E => controller A_B_C_D_E. If the second parameter of Yaf_Route_Map::__construct is specificed, then only the part before delimeter of URI will used to routing, the part after it is used to routing request parameters (see the example section of Yaf_Route_Map::__construct).CLASS SYNOPSISYaf_Route_Map Yaf_Route_MapYaf_Route_Interface Properties o protected$_ctl_router o protected$_delimeter Methods o public string Yaf_Route_Map::assemble (array $info, [array $query]) o public Yaf_Route_Map::__construct ([string $controller_prefer = false], [string $delimiter = ""]) o public bool Yaf_Route_Map::route (Yaf_Request_Abstract $request)PROPERTIESo $_ctl_router - o $_delimeter - PHP Documentation Group YAF_ROUTE_MAP(3)