[eluser]starenka[/eluser]
Hi, im trying to log certain user actions. It's easy to log it w/ a helper function, but this seems rather dumb to me. I was thinking about using hook or extending model class, which triggers certain keywords within a model method name (f.e save, delete, update) and do the stuff automatically for me. The problem is that apart from controller/method/params (which are easy to capture) i need to store also data passed to the methods. I've been looking thru the sources/trying to debug things, but i just can't find way to get the arguments (f.e in Model __construct). It must be a way how to get them, right? I suppose the methods are called somehow and args are passed after routing etc.
Any clue? Thanks starenka
PS. I don't like the idea of hacking the DB layer classes either