Class e.p.p.t.t.PigmentFrontendExtensionMixinStub(PigmentFrontendExtensionMixin):

Part of elisa.plugins.pigment.tests.test_pigment_frontend View In Hierarchy

Undocumented
Line # Kind Name Docs
375 Method __init__ Undocumented
380 Method add_controller Add a new controller to the frontend. The controller is the one that
383 Method add_decorator Add a decorator function for controllers matching path_pattern.

Inherited from PigmentFrontendExtensionMixin:

Line # Kind Name Docs
97 Method create_controller Create a controller for the given path.
133 Method retrieve_controllers Retrieve the list of controllers for a given path.
62 Method _load_controller_mappings Load the controller mappings from all plugins' metadata.
73 Method _load_decorator_mappings Load the controller mappings from all plugins' metadata.
126 Method _store_controller Undocumented
167 Method _set_frontend Undocumented
172 Method _set_path Undocumented
177 Method _decorator_callback Undocumented
182 Method _decorator_errback Undocumented
188 Method _iterate_decorators_callback Undocumented
192 Method _iterate_decorators Undocumented
218 Method _decorate Undocumented
def __init__(self):
Undocumented
def add_controller(self, path_pattern, controller):
Add a new controller to the frontend. The controller is the one that will be loaded for paths matching path_pattern.
Parameterspath_patternregular expression pattern (type: str )
controllercontroller class or component path (type: elisa.core.components.controller.Controller or component path string of a controller class )
def add_decorator(self, path_pattern, decorator):

Add a decorator function for controllers matching path_pattern.

A controller decorator is a callable object that is called when a new controller is created. It can be used to alter the behaviour of a controller (say, the UI created by the controller). Controller decorators are called with a controller instance as their only argument and should return a deferred.
Parameterspath_patternpath pattern (type: str )
decoratordecorator callable or decorator path string (type: callable or str )
API Documentation for Elisa Media Center, generated by pydoctor at 2008-10-13 19:16:17.