Yaf_Route_Static::route

(Yaf >=1.0.0)

Yaf_Route_Static::routeRoute a request

Description

publicYaf_Route_Static::route(Yaf_Request_Abstract$request): bool

Warning

This function is currently not documented; only its argument list is available.

Parameters

request

Return Values

always be true

Examples

Example #1 Yaf_Route_Static::route()example

// assuming there is only one module defined:Index Request: http://yourdomain.com/a/b => module = index, controller=a, action=bRequest: http://yourdomain.com/b => module = default(index), controller = default(index), action = bRequest: http://yourdomain.com/b => module = default(index), controller = b, action = default(index) Request: http://yourdomain.com/a/b/foo/bar/test/a/id/4 => module = default(index), controller = a, action = b, request parameters: foo = bar, test = a, id = 4

See Also

To Top