Am creating a module for listing the online admin users, for that i need to update a last_activity_time (custom field of admin user).On each activity of admin user current time will be updated on last_activity_time column. I am planing to consider the users who's last_activity_time is with in few minutes from current time(say 5 minutes). Is there any observer hook available for listening to all activities of admin user ?
2 Answers
From here, you should be able to use controller_action_postdispatch_adminhtml
for your module.
You can use adminhtml_controller_action_predispatch_start
event for all page request.
Refer this file
All admin controller files are extends form Mage_Adminhtml_Controller_Action
class. So here you can hook predispatch event for all admin request.