6.1.1.3.2.4. linotp.lib.base module
The Controller’s Base class
-
class linotp.lib.base.BaseController(*args, **kw)[source]
Bases: pylons.controllers.core.WSGIController
BaseController class - will be called with every request
-
set_language()[source]
Invoke before everything else. And set the translation language
-
linotp.lib.base.set_config(key, value, typ, description=None)[source]
create an intial config entry, if it does not exist
Parameters: |
- key – the key
- value – the value
- description – the description of the key
|
Returns: | nothing
|
-
linotp.lib.base.set_defaults()[source]
add linotp default config settings
-
linotp.lib.base.setup_app(conf, conf_global=None, unitTest=False)[source]
setup_app is the hook, which is called, when the application is created
Parameters: | conf – the application configuration |
Returns: |
|