Is there a way in Yii to catch and act upon all incoming requests are when functions are fired. I want to right an e-mail extension that can be set to something like, when documents/update is fired or function SaveDocument is fired send e-mail x.
I guessing that i can do this by extending the Controller class but that is already being done by the rights extension.
Thanks for any suggestions.
create a class filter protected/filter/EmailFilter
in your controller