I'm trying to implement an audit log in Backend app using my own sfFilter, I can save all information required like User, module, actions and id. This information is captured through URL and sfContext, but, when action is create I don´t know how obtain this ID.
I'd like to know how obtain the SQL that is sending in sfRequest but I'm new in symfony and don´t know exactly classes that I can use in sfFilters.
My own sfFilter is configurated like this:
- Code: Select all
I don't know if I have to use a param or if filter have to be execute before cache for obtain the ID after execute save method on request.
Please help me with these simple questions, I prefer to use one class that manage Doctrine with SQL sending on request.