Blocks responding to logfiles

Blocks responding to logfiles

by Viktor Subbota -
Number of replies: 0

Hello,

I have one selfdeveloped block in moodle to see which users in which courses are enroled. The block has also following functions:

- Send a message to all users in a course

- Delete or move users between courses

- and some more, but they are not important now...

Now i want to get the block responding to user activity report, especially user log files. For example i use my block to delete an user from course. I want to see that in the log files of user and in my log files too (i'm a admin of my moodle installation, so i have all permissions on the page). Does anybody know, where could i find this php-function in moodle libraries to extend my block with log reporting? Maybe this is a very specific question, but i hope to find some help here and maybe one or another developer had a similar problem... thanks a lot for your help

 

Best regards

Viktor

 

Edit: i'm already using php-functions from Moodle API to implement all functionality of a block smile

@Admins: if the topic is wrong, please move the thread to the right place

Average of ratings: -