sfDoctrineActAsTraceablePlugin

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Stats

Plugin Information Installation
sfDoctrineActAsTraceablePlugin
Plugin image
1
user
Sign-in
to change
your status

sfDoctrineActAsTraceablePlugin

Overview

This plugin adds a more paranoid tracing to table updates, logging the user ID (from sfUser()) and IP address (if available)

Installation

I'm currently working on documentation and PEAR packaging. In the meantime, to use this behaviour please add the svn:external

svn://projects.linpro.no/symfony/plugins/sfDoctrineActAsTraceablePlugin/trunk

Add the behaviour "traceableTemplate" when defining your table, and the user's ID and IP address will automatically be added to the inserted/updated row.