TestFrame::Application::Application Class Reference
List of all members.
Member Function Documentation
| def TestFrame::Application::Application::__init__ |
( |
|
self, |
|
|
|
req | |
|
) |
| | |
00006 :
00007 registry = Registry()
00008 registry.register('ap', Apache(req))
00009 registry.register('view', View())
00010
def run(self, controller):
| def TestFrame::Application::Application::getController |
( |
|
self, |
|
|
|
structuredName, |
|
|
|
controller | |
|
) |
| | |
00015 :
00016 __import__(structuredName, globals(), locals(), [''])
00017 exec "from " + structuredName + " import " + controller
00018 exec "mod = " + controller + "()"
00019 return mod
return mod
| def TestFrame::Application::Application::run |
( |
|
self, |
|
|
|
controller | |
|
) |
| | |
Member Data Documentation
The documentation for this class was generated from the following file: