log.php 825 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Definition of log events
  4. *
  5. * NOTE: this is an example how to insert log event during installation/update.
  6. * It is not really essential to know about it, but these logs were created as example
  7. * in the previous 1.9 NEWMODULE.
  8. *
  9. * @package mod_nasatlx
  10. * @copyright 2014 LInE - http://line.ime.usp.br
  11. * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  12. */
  13. defined('MOODLE_INTERNAL') || die();
  14. global $DB;
  15. $logs = array(
  16. array('module'=>'nasatlx', 'action'=>'add', 'mtable'=>'nasatlx', 'field'=>'name'),
  17. array('module'=>'nasatlx', 'action'=>'update', 'mtable'=>'nasatlx', 'field'=>'name'),
  18. array('module'=>'nasatlx', 'action'=>'view', 'mtable'=>'nasatlx', 'field'=>'name'),
  19. array('module'=>'nasatlx', 'action'=>'view all', 'mtable'=>'nasatlx', 'field'=>'name')
  20. );