List out all the functions that "insert" values into mdl_grade_item

List out all the functions that "insert" values into mdl_grade_item

by Wen Hao Chuang -
Number of replies: 1
Dear all, I have just started to dig deeper into the code level of gradebook 1.9. Wow it's a big change from the 1.8 mdl_grade_item (only 8 fields) to 1.9 mdl_grade_items (20+ fields!).

Just a quick question, how could I quickly find out what functions (in which library files, etc.) that would "insert" new records into the the mdl_grade_item in 1.8 (or mdl_grade_items in 1.9)? Is there a tool you could use in Eclipse (or other development tools) that you could find out the answer quickly? Thanks!
In reply to Wen Hao Chuang

Re: List out all the functions that "insert" values into mdl_grade_item

by Anthony Borrow -
Picture of Core developers Picture of Plugin developers Picture of Testers
Wen - I believe if you look into the lib.php for each module you should find two functions modname_grade_item_update and modname_grade_item_delete. Let me know if you have other questions. Peace - Anthony