I have an extranet made with codeigniter that I want to log every users’ editions to the database.
E.g. user1 created item1, user2 edited item2 – edit details, user2 deleted item3
Is there any easy way to capture all users’ activities.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Afraid there isn’t an easy way to capture all users’ activity built into CodeIgniter. However, you can make a master library which handles all users’ activities and log your messages in this one place.
To expand on this idea, I have found creating a DAO library in which all database interactions must go through to be awfully handy.