Package turbogears :: Package visit

Package visit

source code

The TurboGears Visit Framework for tracking visitors from requests.

Submodules

Classes
  BaseVisitManager
  Visit
Basic container for visit related data.
  VisitTool
A tool that automatically tracks visitors.
Functions
 
create_extension_model()
Create the data model of the VisitManager if one exists.
source code
 
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
 
enable_visit_plugin(plugin)
Register a visit tracking plugin.
source code
 
disable_visit_plugin(plugin)
Unregister a visit tracking plugin.
source code
 
start_extension() source code
 
shutdown_extension() source code
Function Details

enable_visit_plugin(plugin)

source code 

Register a visit tracking plugin.

These plugins will be called for each request.