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.
  VisitFilter
A filter 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
Function Details

enable_visit_plugin(plugin)

source code 

Register a visit tracking plugin.

These plugins will be called for each request.