Latest Version: 0.9.6.2

Warning

This documentation does not refer to the most recent version of Pylons. Current Documentation

RoutesResolver

A Myghty ResolverRule Subclass that implements Routes-base dispatching

RoutesResolver subclasses ResolverRule and is used to implement Routes-based dispatching. The RoutesResolver currently is heavily bound to the Pylons run-time environment and is not usable outside of Pylons.


Attributes

a name

'routeresolver'

Methods

f __init__(self, mapper=None, controller_root=None, scan_controllers=False) ...

Initialize the RoutesResolver

mapper
Store a reference to the mapper used for this application
controller_root
Used to locate the controller module to load
scan_controllers
Indicates whether the controllers dir should be scanned every reuqest

f do_init_resolver(self, resolver, remaining_rules) ...

Myghty Routes Resolver init

Called by Myghty to initialize the RoutesResolver. Also initializes the Pylons module globals.

f do(self, uri, remaining, resolution_detail) ...

Called per-Request by Myghty to Resolve the uri

See the source for more information.

Top