OpenQuizz
Une application de gestion des contenus pédagogiques
RuleFactory Class Reference
Inheritance diagram for RuleFactory:
Collaboration diagram for RuleFactory:

Public Member Functions

def get_rules (self, map)
 

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`.

Member Function Documentation

◆ get_rules()

def get_rules (   self,
  map 
)
Subclasses of `RuleFactory` have to override this method and return
an iterable of rules.

Reimplemented in Rule, RuleTemplateFactory, EndpointPrefix, Submount, and Subdomain.


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