Package turbogears :: Package visit :: Module api

Module api

source code

Base API of the TurboGears Visit Framework.

Classes
  Visit
Basic container for visit related data.
  VisitTool
A tool that automatically tracks visitors.
  BaseVisitManager
Functions
 
current()
Retrieve the current visit record from the CherryPy request.
source code
 
set_current(visit)
Set the current visit record on the CherryPy request being processed.
source code
 
start_extension() source code
 
shutdown_extension() source code
 
create_extension_model()
Create the data model of the VisitManager if one exists.
source code
 
enable_visit_plugin(plugin)
Register a visit tracking plugin.
source code
 
disable_visit_plugin(plugin)
Unregister a visit tracking plugin.
source code
Function Details

enable_visit_plugin(plugin)

source code 

Register a visit tracking plugin.

These plugins will be called for each request.