I want to log events across multiple controllers and store them in my 'actions' database. I need to have actions as a class/controller because I need to get the ID for that action object after it has saved.
What is the best way of doing this so that I can run a method across any controllers to add a new action into the database?
$this->Action->log($array)
;
Many thanks