Login or Register

RSS IconRecent posts in this topic

avatar
tranzparency on Mar 26. 2007. 9:52 am
I've been using using 0.6 for a long time becuase I built some extra functionality. Well, finally got the time to port my bugTrac and cross project priority task list to 0.7.1. It was actually a snap.

Now I'd like to use the functions from the framework to add log activity from these 2 sections I built. Any idea what functions I need to call to easily write to the log: taken_by_id, project_id, object_name, action, etc?

Thanks!
avatar Staff
Ilija Studen on Mar 26. 2007. 12:43 pm
This call will create a new entry in the log:

ApplicationLogs::createLog($message, active_project(), ApplicationLogs::ACTION_ADD);


Where $message is an instance of ProjectDataObject class (from there system will take its name, URL and all other details).
activeCollab Team Member
Topic is locked. If you have something important to say about issues discussed on this page please write at hi@a51dev.com.

RSS IconRecent posts in this topic