yaf_route_map(3) php man page | unix.com

Man Page: yaf_route_map

Operating Environment: php

Section: 3

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
yaf_config_simple(3) - php
reflectionobject(3) - php
reflectionparameter(3) - php
yaf_request_http(3) - php
yaf_session(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
UNIX.COM 2017 Year End Summary
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Denial Of Service Attack Update