Back to index

moin  1.9.0~rc2
Public Member Functions
MoinMoin.support.werkzeug.routing.RuleFactory Class Reference
Inheritance diagram for MoinMoin.support.werkzeug.routing.RuleFactory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def get_rules

Detailed Description

As soon as you have more complex URL setups it's a good idea to use rule
factories to avoid repetitive tasks.  Some of them are builtin, others can
be added by subclassing `RuleFactory` and overriding `get_rules`.

Definition at line 216 of file routing.py.


Member Function Documentation

Subclasses of `RuleFactory` have to override this method and return
an iterable of rules.

Reimplemented in MoinMoin.support.werkzeug.routing.Rule, MoinMoin.support.werkzeug.routing.RuleTemplateFactory, MoinMoin.support.werkzeug.routing.EndpointPrefix, MoinMoin.support.werkzeug.routing.Submount, and MoinMoin.support.werkzeug.routing.Subdomain.

Definition at line 222 of file routing.py.

00222 
00223     def get_rules(self, map):
00224         """Subclasses of `RuleFactory` have to override this method and return
00225         an iterable of rules."""
00226         raise NotImplementedError()
00227 


The documentation for this class was generated from the following file: