dev-master
9999999-dev https://github.com/shiroyuki/RouteBundleShiroyuki RouteBundle
MIT
The Requires
- php >=5.3.2
- symfony/symfony >=2.1.0
javascript route
Shiroyuki RouteBundle
Route Utility Bundle for Symfony 2.x, (*1)
shiroyuki/route-bundle
to the required section of composer.json
.app/AppKernel.php
.First, import the javascript from the controller., (*2)
``` django , (*3)
Then, instantiate the offline router. ``` javascript var router = new OfflineRouter();
There is only one interface., (*4)
javascript
// suppose PARAMETERS is a one-dimentional associate array.
(String) router.get(ROUTE_ID, PARAMETERS);
, (*5)
Please note that unknown parameters for a route will be ignored., (*6)
Shiroyuki RouteBundle
MIT
javascript route