php man page for yaf_route_map

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 class

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 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 SYNOPSIS
Yaf_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)
PROPERTIES
o $_ctl_router - o $_delimeter - PHP Documentation Group YAF_ROUTE_MAP(3)
Related Man Pages
reflectionobject(3) - php
reflectionparameter(3) - php
yaf_dispatcher(3) - php
yaf_response_abstract(3) - php
yaf_session(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Forum Video Tutorial: How to Use Code Tags
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
Please Welcome Ravinder Singh to the Moderation Team