Yaf_Route_Static::route

(Yaf >=1.0.0)

Yaf_Route_Static::routeリクエストをルーティングする

説明

publicYaf_Route_Static::route(Yaf_Request_Abstract$request): bool

警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

パラメータ

request

戻り値

常に true を返します。

例1 Yaf_Route_Static::route() の例

// 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

参考

To Top